ClassRadStatusStrip
Represents a status strip control that displays status information in an application. The RadStatusStrip class is a wrapper for the RadStatusBarElement class and acts to transfer events to and from its corresponding element.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[TelerikToolboxCategory("Menus & Toolbars")]
public class RadStatusStrip : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IExtenderProvider
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadStatusStrip
Implements:
Inherited Members
Constructors
RadStatusStrip()
Initializes a new instance of the RadStatusStrip class.
Declaration
public RadStatusStrip()
Properties
AutoSize
Gets or sets a value indicating whether the status strip is automatically resized to display its entire contents.
Declaration
[Browsable(true)]
public override bool AutoSize { get; set; }
Property Value
Overrides
BackColor
Gets or sets the background color of the status strip. RadStatusStrip consists of multiple visual elements and separate settings are provided to customize their appearance. Current BackColor property might be ignored.
Declaration
public override Color BackColor { get; set; }
Property Value
Overrides
DefaultSize
Gets the default size for the status strip control.
Declaration
protected override Size DefaultSize { get; }
Property Value
Overrides
Dock
Gets or sets the docking behavior of the status strip control. The default value is Bottom.
Declaration
public override DockStyle Dock { get; set; }
Property Value
Overrides
ForeColor
Gets or sets the foreground color of the status strip. RadStatusStrip consists of multiple visual elements and separate settings are provided to customize their appearance. Current ForeColor property might be ignored.
Declaration
public override Color ForeColor { get; set; }
Property Value
Overrides
Items
Gets the collection of items that belong to the RadStatusStrip.
Declaration
[RadEditItemsAction]
[RadNewItem("Type here", true)]
[Browsable(true)]
public RadItemOwnerCollection Items { get; }
Property Value
LayoutStyle
Gets or sets the layout style of the RadStatusStrip.
Declaration
public RadStatusBarLayoutStyle LayoutStyle { get; set; }
Property Value
SizingGrip
Gets or sets a value indicating whether the sizing grip is visible for repositioning the control.
StatusBarElement
Gets the instance of RadStatusBarElement wrapped by this control. RadStatusBarElement is the main element in the hierarchy tree and encapsulates the actual functionality of RadStatusStrip.
Declaration
[Browsable(false)]
public RadStatusBarElement StatusBarElement { get; }
Property Value
Methods
CanExtend(object)
Determines whether this extender provider can extend the specified object.
CreateAccessibilityInstance()
Creates an accessibility object for the status strip.
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
An AccessibleObject instance for accessibility support.
Overrides
CreateChildItems(RadElement)
Creates child items for the status strip.
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
parent
The parent element to which child items will be added.
Overrides
GetSpring(RadItem)
Gets the spring property value for the specified RadItem.
InitializeRootElement(RootRadElement)
Initializes the root element with appropriate stretch settings.
Declaration
protected override void InitializeRootElement(RootRadElement rootElement)
Parameters
rootElement
The root element to initialize.
Overrides
OnMouseClick(MouseEventArgs)
Raises the MouseClick event and fires the StatusBarClick event.
Declaration
protected override void OnMouseClick(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
ProcessAutoSizeChanged(bool)
Processes auto-size changes for the status strip.
Declaration
protected override void ProcessAutoSizeChanged(bool value)
Parameters
value
The new auto-size value.
Overrides
ProcessCodedUIMessage(ref IPCMessage)
Processes coded UI messages for automation support.
Declaration
protected override void ProcessCodedUIMessage(ref IPCMessage request)
Parameters
request
IPCMessage
The IPC message containing the request information.
Overrides
ResetBackColorThemeOverrides()
Resets theme overrides for the background color property.
Declaration
protected override void ResetBackColorThemeOverrides()
Overrides
ResetForeColorThemeOverrides()
Resets theme overrides for the foreground color property.
Declaration
protected override void ResetForeColorThemeOverrides()
Overrides
SetBackColorThemeOverrides()
Sets theme overrides for the background color property.
Declaration
protected override void SetBackColorThemeOverrides()
Overrides
SetForeColorThemeOverrides()
Sets theme overrides for the foreground color property.
Declaration
protected override void SetForeColorThemeOverrides()
Overrides
SetSpring(RadItem, bool)
Sets the spring property for the specified RadItem.
WmNCHitTest(ref Message)
Handles the WM_NCHITTEST Windows message for proper hit testing.
WndProc(ref Message)
Processes Windows messages for the status strip control.
Declaration
protected override void WndProc(ref Message m)
Parameters
m
The Windows message to process.
Overrides
Events
LayoutStyleChanged
Occurs after the layout style has changed.
LayoutStyleChanging
Occurs before the layout style is changing.
Declaration
public event ValueChangingEventHandler LayoutStyleChanging
Event Value
StatusBarClick
Occurs when the status bar is clicked.
Declaration
public event RadStatusStrip.RadStatusBarClickEvenHandler StatusBarClick
Event Value