ClassFormCaptionBorderPrimitive
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class FormCaptionBorderPrimitive : BasePrimitive, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementBasePrimitiveFormCaptionBorderPrimitive
Derived Classes:
Implements:
Inherited Members
Constructors
FormCaptionBorderPrimitive()
Declaration
protected FormCaptionBorderPrimitive()
Fields
BorderColorProperty1
Declaration
public static RadProperty BorderColorProperty1
Field Value
Properties
BorderColor
Gets or sets the color of the form's first broder.
Declaration
[Browsable(true)]
public Color BorderColor { get; set; }
Property Value
BorderColor1
Gets or sets the color of the form's second broder.
Declaration
[Browsable(true)]
public Color BorderColor1 { get; set; }
Property Value
ShadowColor
Gets or sets the color of the form's client area shadow.
Declaration
[Browsable(true)]
public Color ShadowColor { get; set; }
Property Value
Methods
DisposeManagedResources()
Releases managed resources by clearing the property store and disposing value animators to prevent memory leaks.
Declaration
protected override void DisposeManagedResources()
Overrides
InitializeFields()
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Declaration
protected override void InitializeFields()
Overrides
OnCaptionFillPropertyChanged(object, PropertyChangedEventArgs)
Declaration
protected virtual void OnCaptionFillPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
sender
e
OnParentChanged(RadElement)
Notifies for a change in the Parent value.
Declaration
protected override void OnParentChanged(RadElement previousParent)
Parameters
previousParent
The previous parent element (if any)
Overrides
PaintPrimitive(IGraphics, float, SizeF)
When overridden in a derived class, performs the actual painting of the primitive.
Declaration
public override void PaintPrimitive(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The IGraphics object used for painting operations.
angle
The rotation angle in degrees to apply during painting.
scale
The scaling factor to apply during painting.
Overrides
Remarks
This is the core method that derived primitive classes must override to implement their specific rendering logic. The base implementation is empty and should be overridden.