Partager via


IXRStyle::GetSetters (Compact 2013)

3/28/2014

This method retrieves a collection of objects used to set properties.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetSetters(
    __out IXRSetterBaseCollection** ppSetters
) = 0;

Parameters

  • ppSetters
    [out] Pointer to a pointer that references an IXRSetterBaseCollection object that stores objects used to set properties for this style.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Call this method to add new IXRSetterBase-derived objects to this style by adding them to the collection object retrieved by this method. This method must be called before this style is used by an object loaded into the object tree.

.NET Framework Equivalent

System.Windows.Style.Setters

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRStyle