Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Angle Property, GenericPartClass Class

Defines the rotation of the part.

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

Syntax

public float Angle { get; set; }
Public Property Angle As Single

Value

The rotation in degrees.

The default value is 0.

Comments

Defines the rotation of the part.

Most parts can be rotated. All parts are displayed without rotation (Angle = 0) by default, but they can be rotated by an arbitrary value for visual effect. Typically, rotated parts don't look quite as good as their non-rotated appearance.

The parts GapPartClass, ButtonPartClass and DropDownButtonPartClass ignore the GenericPartClass.Angle property and cannot be rotated. The GenericPartClass.Angle property is ignored for images based on an ImageList (using the ImagePartClass.ImageList property).

See Also GenericPartClass Class | Classes | SftTree/NET 2.0