ClassRadNonClientUIBaseFormBehavior<T>
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Type Parameters:
T
Syntax:
public abstract class RadNonClientUIBaseFormBehavior<T> : ThemedFormBehavior, IComponent, IDisposable where T : RadNonClientUIControl
Inheritance: objectMarshalByRefObjectComponentFormControlBehaviorThemedFormBehaviorRadNonClientUIBaseFormBehavior<T>
Derived Classes:
Implements:
Inherited Members
Constructors
RadNonClientUIBaseFormBehavior()
Creates an instance of the "RadNonClientUIBaseFormBehavior" class.
Declaration
public RadNonClientUIBaseFormBehavior()
RadNonClientUIBaseFormBehavior(IComponentTreeHandler)
Creates an instance of the "RadNonClientUIBaseFormBehavior" class.
The IComponentTreeHandler implementation which this behavior is associated with.Declaration
public RadNonClientUIBaseFormBehavior(IComponentTreeHandler treeHandler)
Parameters
treeHandler
RadNonClientUIBaseFormBehavior(IComponentTreeHandler, bool)
Creates an instance of the "RadNonClientUIBaseFormBehavior" class.
Declaration
public RadNonClientUIBaseFormBehavior(IComponentTreeHandler treeHandler, bool shouldHandleCreateChildItems)
Parameters
treeHandler
The associated IComponentTreeHandler implementation.
shouldHandleCreateChildItems
Determines whether the behavior handles the CreateChildItems call.
Fields
Properties
AllowTheming
Gets or sets value indicating whether the NC control is drawn over the Aero glass under Vista or later versions of Windows.
Declaration
[Browsable(false)]
public override bool AllowTheming { get; set; }
Property Value
Overrides
CaptionHeight
Returns a zero for the caption height.
Declaration
public override int CaptionHeight { get; }
Property Value
Overrides
CaptionTextBounds
Gets the rectangle that contains the form's caption text.
Declaration
public override Rectangle CaptionTextBounds { get; }
Property Value
Overrides
ClientMargin
Gets the margin that describes the size and position of the client area.
Declaration
public override Padding ClientMargin { get; }
Property Value
Overrides
CompositionEffectsEnabled
Gets a boolean value indicating whether composition effects are enabled for the form.
CompositionEnabled
Gets a value indicating whether composition effects are enabled for the Operating System.
FormElement
Gets the RadElement instance that represents the root element containing the hierarchy that builds the visual appearance of the form.
Declaration
public override RadElement FormElement { get; }
Property Value
Overrides
IconBounds
Gets the rectangle that contains the form's icon.
Declaration
public override Rectangle IconBounds { get; }
Property Value
Overrides
MenuBounds
Gets the rectangle that contains the menu of the form.
Declaration
public override Rectangle MenuBounds { get; }
Property Value
Overrides
NonClientUIControl
Declaration
protected virtual T NonClientUIControl { get; set; }
Property Value
T
SystemButtonsBounds
Gets the rectangle that contains the system buttons of the form.
Declaration
public override Rectangle SystemButtonsBounds { get; }
Property Value
Overrides
TopCompositionMargin
Gets an integer representing the top client margin of the form when composition is enabled.
Methods
AdjustBehaviorForCompositionSate()
Declaration
protected abstract void AdjustBehaviorForCompositionSate()
AdjustFormElementForFormState(int?)
Declaration
protected abstract void AdjustFormElementForFormState(int? currentFormState)
Parameters
currentFormState
int?
AdjustFormIconVisibility()
Declaration
public virtual void AdjustFormIconVisibility()
AdjustSystemButtonsForStyle()
Declaration
protected void AdjustSystemButtonsForStyle()
CreateChildItems(RadElement)
Declaration
public override void CreateChildItems(RadElement parent)
Parameters
parent
Overrides
CreateParams(CreateParams)
Declaration
public override CreateParams CreateParams(CreateParams parameters)
Parameters
parameters
Returns
Overrides
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
Overrides
DisposeNonClientUIControlImpls()
Declaration
protected virtual void DisposeNonClientUIControlImpls()
ExtendFrameIntoClientArea()
Declaration
protected virtual void ExtendFrameIntoClientArea()
FormHandleCreated()
Declaration
public override void FormHandleCreated()
Overrides
Form_ControlAdded(object, ControlEventArgs)
Declaration
protected virtual void Form_ControlAdded(object sender, ControlEventArgs e)
Parameters
sender
e
InitializeDummyMenuStrip()
Declaration
protected virtual void InitializeDummyMenuStrip()
InitializeNonClientUIControl()
Declaration
protected abstract void InitializeNonClientUIControl()
OnActiveMDIChildTextChanged()
Declaration
protected override void OnActiveMDIChildTextChanged()
Overrides
OnAssociatedFormPaintBackground(PaintEventArgs)
Declaration
public override bool OnAssociatedFormPaintBackground(PaintEventArgs args)
Parameters
args
Returns
Overrides
OnFormAssociated()
Occurs when a form is associated with the behavior.
Declaration
protected override void OnFormAssociated()
Overrides
OnGetMinMaxInfo(MinMaxInfo)
This event is fired when the WM_GETMINMAXINFO message is sent to the form.
Declaration
protected override void OnGetMinMaxInfo(MinMaxInfo minMaxInfo)
Parameters
minMaxInfo
Contains information about the position, maximum/minimum size of the form etc. Can be modified to adjust the settings applied to the form.
Overrides
OnWMActivateCore(ref Message)
Declaration
protected abstract void OnWMActivateCore(ref Message m)
Parameters
m
OnWMNCRightButtonUp(ref Message)
Declaration
protected virtual void OnWMNCRightButtonUp(ref Message m)
Parameters
m
OnWmNCLeftMouseButtonDown(ref Message)
Declaration
protected abstract void OnWmNCLeftMouseButtonDown(ref Message m)
Parameters
m
OnWmNCLeftMouseButtonUp(ref Message)
Declaration
protected abstract void OnWmNCLeftMouseButtonUp(ref Message m)
Parameters
m
OnWmParentNotifyInDesigner(ref Message)
Declaration
protected virtual void OnWmParentNotifyInDesigner(ref Message m)
Parameters
m
OnWmSetIcon(ref Message)
Declaration
protected virtual void OnWmSetIcon(ref Message m)
Parameters
m
OnWmSetText(ref Message)
Declaration
protected virtual void OnWmSetText(ref Message m)
Parameters
m
ResetFormRegion()
Declaration
protected void ResetFormRegion()
UpdateFormForThemingState(bool)
Declaration
protected abstract void UpdateFormForThemingState(bool showAero)
Parameters
showAero
UpdateMDIButtonsAndCaptionText()
Declaration
protected virtual void UpdateMDIButtonsAndCaptionText()
UpdateNCComposition()
Declaration
protected abstract void UpdateNCComposition()