Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ExpandedPressed Property, ButtonsClass Class

Defines the optional expand/collapse button image used for an expanded item when the button is pressed.

Class: ButtonsClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public Image ExpandedPressed { get; set; }
Public Property ExpandedPressed As Image

Value

The expand/collapse button image used for an expanded item when the button is pressed, or null/Nothing to use the image defined using the ButtonsClass.ExpandedNormal property.

The default value is null/Nothing.

Comments

Defines the optional expand/collapse button image used for an expanded item when the button is pressed.

An expanded item will use this image as its expand/collapse button image when the button is pressed.

The image defined using this property is only used if the control's SftTree.ButtonLook property is set to ButtonLookEnum.Custom.

The images defined using the properties ButtonsClass.ExpandableNormal, ButtonsClass.ExpandableHot, ButtonsClass.ExpandablePressed, ButtonsClass.ExpandedNormal, ButtonsClass.ExpandedHot and ButtonsClass.ExpandedPressed must have the same size.

See Also ButtonsClass Class | Classes | SftTree/NET 2.0