RadSeparator
Represents a separator control which is displayed as a line separating one group of controls from another. The RadSeparator is a simple wrapper of the SeparatorElement class and provides both horizontal and vertical orientation support with optional shadow effects.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadSeparator : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadSeparator...
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadSeparator class with default settings and minimum size.
public RadSeparator()
Properties
Gets the default size for the RadSeparator control when first created.
protected override Size DefaultSize { get; }
Overrides:
Gets or sets the orientation of the separator line, either horizontal or vertical.
public Orientation Orientation { get; set; }
Gets the instance of SeparatorElement wrapped by this control. SeparatorElement is the main element in the hierarchy tree and encapsulates the actual functionality of RadSeparator.
public SeparatorElement SeparatorElement { get; }
Gets or sets the offset position of the shadow effect when ShowShadow is enabled. The offset is specified in pixels relative to the main separator line.
public Point ShadowOffset { get; set; }
Gets or sets a value indicating whether to display a shadow effect under the separator line.
public bool ShowShadow { get; set; }
Methods
Creates the child elements that make up the RadSeparator control, specifically the SeparatorElement that handles the visual representation.
protected override void CreateChildItems(RadElement parent)
The parent RadElement that will contain the separator element
Overrides: