Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

ThemedHeaderAdjustmentLocation Property, GadgetsClass Class

Defines the position (or offset) of the cell contents relative to the top left corner of the cell area.

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

Syntax

public Point ThemedHeaderAdjustmentLocation { get; set; }
Public Property ThemedHeaderAdjustmentLocation As Point

Value

The position of the cell contents.

The default value is Point.0, 0.

Comments

Defines the position (or offset) of the cell contents relative to the top left corner of the cell area.

When Windows themes are used (BackgroundAppearanceEnum.ThemedSystemHeader), the operating system allows slightly insufficient space for the header contents. The GadgetsClass.ThemedHeaderAdjustmentSize allows an application to reserve more space which results in a more pleasing header appearance and the ThemedHeaderAdjustmentLocation property is 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