Hosts a custom control for rendering a form's non-client UI and pairs it with the behavior that manages that control.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Type Parameters:
T
The control that renders the non-client UI.
U
The form behavior that manages the non-client control.
Syntax:
public abstract class RadNonClientUIBaseForm<T, U> : RadFormControlBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider where T : RadNonClientUIControl where U : RadNonClientUIBaseFormBehavior<T>
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadNonClientUIBaseForm<T, U>...
Derived Classes:
Implements:
Inherited Members
Constructors
protected RadNonClientUIBaseForm()
Properties
Determines whether a missing non-client control is created when the form is shown at runtime.
protected virtual bool AddNonClientControlOnShownRuntime { get; }
true to create the control at runtime; otherwise, only design-time creation is enabled.
Enables or disables the themed non-client rendering managed by this form's behavior.
public virtual bool AllowAero { get; set; }
Gets or sets the native border style while keeping the form element's border thickness in sync. Setting this to None saves and clears the element border; changing back restores the saved thickness when the element border is still empty.
[Browsable(false)]
public FormBorderStyle FormBorderStyle { get; set; }
Indicates whether this form uses the specialized non-client form behavior.
protected override bool HasOwnToolbar { get; }
Overrides:
Gets the form behavior when it is an instance of U.
protected U NonClientUIFormBehavior { get; }
Methods
Adds the non-client control through the designer host and notifies the component change service.
protected virtual void AddNonClientControlInForm()
Saves or restores the form element's border thickness when the native border style changes.
protected void CheckBorderWidth(FormBorderStyle value)
The border style being applied to the form.
Creates the specialized form behavior, configured to create the form's child elements through the behavior.
protected override FormControlBehavior InitializeFormBehavior()
Overrides:
Checks whether a control of type T is a direct child of the form.
Ensures the non-client control exists when the form is shown in the designer or runtime creation is enabled.