Partager via


IXRStyle::GetBasedOn (Compact 2013)

3/28/2014

This method retrieves a defined style that is the basis of the current style.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetBasedOn(
    __out IXRStyle** ppBasedOn
) = 0;

Parameters

  • ppBasedOn
    [out] IXRStyle object that represents an existing style that is the basis of the current style.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Each style can be based on only one other style.

When the style you are working with and the style it is based on have the same property, the property value set in the style you are working with is the one that is used.

.NET Framework Equivalent

System.Windows.Style.BasedOn

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRStyle