Skip to main content

Appearance.Active Property

Gets or sets appearance properties that are applied to the item when it is active. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v22.1.dll


public AppearanceObject Active { get; set; }

Property Value

Type Description

Appearance properties applied to the panel.


The following code sample sets the LayoutPanel’s Background to Red when the item is active and to Green when the item is inactive:

<Window ...
        <dxdo:LayoutGroup x:Name="LayoutRoot" Orientation="Vertical">
            <dxdo:LayoutPanel Caption="Panel1">
                            <dxdo:AppearanceObject Background="Green" />
                            <dxdo:AppearanceObject Background="Red" />
                <TextBox />
            <dxdo:LayoutPanel Caption="Panel2"/>

See Also