Style.BasedOn Property

Definition

Gets or sets a defined style that is the basis of the current style.

Equivalent WinUI property: Microsoft.UI.Xaml.Style.BasedOn.

public:
 property Style ^ BasedOn { Style ^ get(); void set(Style ^ value); };
Style BasedOn();

void BasedOn(Style value);
public Style BasedOn { get; set; }
var style = style.basedOn;
style.basedOn = style;
Public Property BasedOn As Style
<Style BasedOn="styleReference" .../>

Property Value

Style

A defined style that is the basis of the current style. The default value is null.

Applies to