A class that represents a border for a Form which is built by images.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class FormImageBorderPrimitive : BasePrimitive, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, IPrimitive
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementBasePrimitiveFormImageBorderPrimitive...
Implements:
Inherited Members
Constructors
public FormImageBorderPrimitive()
Fields
Identifies the image used for the bottom-left border corner.
public static RadProperty BottomLeftCornerProperty
Identifies the image used for the bottom-right border corner.
public static RadProperty BottomRightCornerProperty
Identifies the tiled image used for the bottom side of the form border.
public static RadProperty BottomTextureProperty
Identifies the tiled image used for the left side of the form border.
public static RadProperty LeftTextureProperty
Identifies the tiled image used for the right side of the form border.
public static RadProperty RightTextureProperty
Identifies the image that caps the top of the left border texture.
public static RadProperty TopLeftEndProperty
Identifies the image that caps the top of the right border texture.
public static RadProperty TopRightEndProperty
Properties
Gets image-derived left, right, and bottom border widths with a zero top width; setting delegates to the base primitive.
public override Padding BorderThickness { get; set; }
Overrides:
Gets a Padding object that represents the left, top, right and bottom width of the border.
public Padding BorderWidth { get; }
Gets or sets the image for the bottom left border corner.
public Image BottomLeftCorner { get; set; }
Gets or sets the image for the bottom right border corner.
public Image BottomRightCorner { get; set; }
Gets or sets the texture for the bottom image border.
public Image BottomTexture { get; set; }
Gets or sets the texture for the left image border.
public Image LeftTexture { get; set; }
Gets or sets the texture for the right image border.
public Image RightTexture { get; set; }
Gets or sets the left Image which represents the transition between the image border and the title bar element.
public Image TopLeftEnd { get; set; }
Gets or sets the right Image which represents the transition between the image border and the title bar element.
public Image TopRightEnd { get; set; }
Methods
Calls base cleanup and releases configured border images. The top-left cap is disposed only when TopRightEnd is set, and that path assumes TopLeftEnd is non-null.
protected override void DisposeManagedResources()
Overrides:
Configures the primitive to fit the content bounds of its parent element.
protected override void InitializeFields()
Overrides:
Draws the background fallback when no side textures are set; otherwise draws the configured caps, textures, and corners.