Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ThemedHeaderAdjustmentSize Property, GadgetsClass Class

Defines additional filler space around the contents of a header (BackgroundAppearanceEnum.ThemedSystemHeader only).

Class: GadgetsClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public Size ThemedHeaderAdjustmentSize { get; set; }
Public Property ThemedHeaderAdjustmentSize As Size

Value

The additional filler space around the contents of a header.

The default value is Size.2, 3.

Comments

Defines additional filler space around the contents of a header (BackgroundAppearanceEnum.ThemedSystemHeader only).

When Windows themes are used (BackgroundAppearanceEnum.ThemedSystemHeader), the operating system allows slightly insufficient space for the header contents. The ThemedHeaderAdjustmentSize allows an application to reserve more space which results in a more pleasing header appearance.

The GadgetsClass.ThemedHeaderAdjustmentLocation property can be used to position (or offset) the contents relative to the top left corner of the cell area.

See Also GadgetsClass Class | Classes | SftTree/NET 2.0