Class RadToolbarForm
Represents a specialized form that hosts a RadToolbarFormControl control, providing a modern toolbar-style interface with customizable title bar functionality.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadToolbarForm : RadNonClientUIBaseForm<RadToolbarFormControl, RadToolbarFormBehavior>, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider
Constructors
RadToolbarForm()
Declaration
public RadToolbarForm()
Properties
AddNonClientControlOnShownRuntime
Gets a value indicating whether the non-client control should be added when the form is shown at runtime. Always returns true for RadToolbarForm.
Declaration
protected override bool AddNonClientControlOnShownRuntime { get; }
Property Value
System.Boolean
|
Overrides
AllowAero
This property is not relevant for this class.
Declaration
public override bool AllowAero { get; set; }
Property Value
System.Boolean
|
Overrides
AllowTheming
This property is not relevant for this class.
Declaration
public override bool AllowTheming { get; set; }
Property Value
System.Boolean
|
Overrides
FormElement
Gets the main ToolbarFormElement that represents the visual structure of the RadToolbarForm.
Declaration
public ToolbarFormElement FormElement { get; }
Property Value
ToolbarFormElement
|
ShowIcon
Gets or sets a value indicating whether an icon is displayed in the caption bar of the form. This property is synchronized with the ToolbarFormControl when available.
Declaration
public bool ShowIcon { get; set; }
Property Value
System.Boolean
|
ShowText
Gets or sets a value indicating whether to display the text in the title bar of the form. This property requires the ToolbarFormControl to be initialized.
Declaration
public bool ShowText { get; set; }
Property Value
System.Boolean
|
ThemeClassName
Gets or sets the class name of the theme to be used for styling this RadToolbarForm. The default value is "Telerik.WinControls.UI.RadToolbarForm".
Declaration
public override string ThemeClassName { get; set; }
Property Value
System.String
|
Overrides
ToolbarFormControl
Gets the RadToolbarFormControl instance that is used internally by the form to provide toolbar functionality.
Declaration
public RadToolbarFormControl ToolbarFormControl { get; }
Property Value
RadToolbarFormControl
|
Methods
AddNonClientControlInForm()
Adds the non-client control to the form. In design mode, uses the base implementation. At runtime, creates a RadToolbarFormControl through the ToolbarFormControlCreating event.
Declaration
protected override void AddNonClientControlInForm()
Overrides
InitializeFormBehavior()
Initializes the form behavior instance that manages the toolbar form's non-client area behavior and appearance.
Declaration
protected override FormControlBehavior InitializeFormBehavior()
Returns
FormControlBehavior
A RadToolbarFormBehavior instance that handles the form's custom behavior. |
Overrides
Events
ToolbarFormControlCreating
Occurs when the RadToolbarFormControl is being created at runtime, allowing customization of the control before it is added to the form. This event is only raised when the form is created at runtime, not during design time.
Declaration
public event EventHandler<ToolbarFormControlCreatingEventArgs> ToolbarFormControlCreating
Event Type
System.EventHandler<ToolbarFormControlCreatingEventArgs>
|