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
protected FormCaptionBorderPrimitive()
Fields
public static RadProperty BorderColorProperty
public static RadProperty BorderColorProperty1
protected Control ownerControl
public static RadProperty ShadowColorProperty
Properties
Gets or sets the color of the form's first broder.
[Browsable(true)]
public Color BorderColor { get; set; }
Gets or sets the color of the form's second broder.
[Browsable(true)]
public Color BorderColor1 { get; set; }
Gets or sets the color of the form's client area shadow.
[Browsable(true)]
public Color ShadowColor { get; set; }
Methods
Releases managed resources by clearing the property store and disposing value animators to prevent memory leaks.
protected override void DisposeManagedResources()
Overrides:
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.
protected override void InitializeFields()
Overrides:
protected virtual void OnCaptionFillPropertyChanged(object sender, PropertyChangedEventArgs e)
Notifies for a change in the Parent value.
protected override void OnParentChanged(RadElement previousParent)
The previous parent element (if any)
Overrides:
When overridden in a derived class, performs the actual painting of the primitive.
public override void PaintPrimitive(IGraphics graphics, float angle, SizeF scale)
The IGraphics object used for painting operations.
anglefloatThe rotation angle in degrees to apply during painting.
scaleSizeFThe scaling factor to apply during painting.
Overrides:
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.