Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ImageAttributes Property, ButtonsClass Class

Defines the optional images attributes that apply to all defined expand/collapse buttons images.

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

Syntax

public ImageAttributes ImageAttributes { get; set; }
Public Property ImageAttributes As ImageAttributes

Value

The image attributes.

The default value is null/Nothing.

Comments

Defines the optional images attributes that apply to all defined expand/collapse buttons images.

The ImageAttributes property applies to all images defined using the properties ButtonsClass.ExpandableNormal, ButtonsClass.ExpandableHot, ButtonsClass.ExpandablePressed, ButtonsClass.ExpandedNormal, ButtonsClass.ExpandedHot and ButtonsClass.ExpandedPressed.

The images defined using these properties are 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