Softelvdm.Controls Class Library for Windows Controls 1.0

Angle Property, GenericPartClass Class

Softel vdm, Inc.

Defines the rotation of the part.

Syntax      GenericPartClass Class (Softelvdm.Controls)

VB   

Public Property Angle As Single

C#   

public float Angle { get; set; }

C++   

public: property float Angle {
        float get();
        void set(float value);
}

Property Value

The rotation in degrees.

The default value is 0.

Comments

The Angle property 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 Angle property and cannot be rotated. The Angle property is ignored for images based on an ImageList (using the ImagePartClass.ImageList property).

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com