Class RadNonClientUIBaseFormBehavior<T>
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public abstract class RadNonClientUIBaseFormBehavior<T> : ThemedFormBehavior where T : RadNonClientUIControl
Type Parameters
T
|
Constructors
RadNonClientUIBaseFormBehavior()
Creates an instance of the "RadNonClientUIBaseFormBehavior" class.
Declaration
public RadNonClientUIBaseFormBehavior()
RadNonClientUIBaseFormBehavior(IComponentTreeHandler)
Creates an instance of the "RadNonClientUIBaseFormBehavior" class.
The IComponent
Declaration
public RadNonClientUIBaseFormBehavior(IComponentTreeHandler treeHandler)
Parameters
IComponent
|
RadNonClientUIBaseFormBehavior(IComponentTreeHandler, Boolean)
Creates an instance of the "RadNonClientUIBaseFormBehavior" class.
Declaration
public RadNonClientUIBaseFormBehavior(IComponentTreeHandler treeHandler, bool shouldHandleCreateChildItems)
Parameters
IComponent The associated IComponent |
System. Determines whether the behavior handles the CreateChildItems call. |
Fields
capturedNCItem
MaxFormBorderHeight
Declaration
protected const int MaxFormBorderHeight = 4
Field Value
System.
|
RegionHeightEllipse
Declaration
protected const int RegionHeightEllipse = 9
Field Value
System.
|
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
public override bool AllowTheming { get; set; }
Property Value
System.
|
Overrides
CaptionHeight
Returns a zero for the caption height.
Declaration
public override int CaptionHeight { get; }
Property Value
System.
|
Overrides
CaptionTextBounds
Declaration
public override Rectangle CaptionTextBounds { get; }
Property Value
System.
|
Overrides
ClientMargin
Declaration
public override Padding ClientMargin { get; }
Property Value
System.
|
Overrides
CompositionEffectsEnabled
Gets a boolean value indicating whether composition effects are enabled for the form.
Declaration
public bool CompositionEffectsEnabled { get; }
Property Value
System.
|
CompositionEnabled
Gets a value indicating whether composition effects are enabled for the Operating System.
Declaration
protected bool CompositionEnabled { get; }
Property Value
System.
|
FormElement
Declaration
public override RadElement FormElement { get; }
Property Value
Overrides
IconBounds
Declaration
public override Rectangle IconBounds { get; }
Property Value
System.
|
Overrides
MenuBounds
Declaration
public override Rectangle MenuBounds { get; }
Property Value
System.
|
Overrides
NonClientUIControl
Declaration
protected virtual T NonClientUIControl { get; set; }
Property Value
T
|
SystemButtonsBounds
Declaration
public override Rectangle SystemButtonsBounds { get; }
Property Value
System.
|
Overrides
TopCompositionMargin
Gets an integer representing the top client margin of the form when composition is enabled.
Declaration
public abstract int TopCompositionMargin { get; }
Property Value
System.
|
Methods
AdjustBehaviorForCompositionSate()
Declaration
protected abstract void AdjustBehaviorForCompositionSate()
AdjustFormElementForFormState(Nullable<Int32>)
Declaration
protected abstract void AdjustFormElementForFormState(int? currentFormState)
Parameters
System.
|
AdjustFormIconVisibility()
Declaration
public virtual void AdjustFormIconVisibility()
AdjustSystemButtonsForStyle()
Declaration
protected void AdjustSystemButtonsForStyle()
CanHandleParentNotify(ref Message)
Declaration
protected virtual bool CanHandleParentNotify(ref Message m)
Parameters
System.
|
Returns
System.
|
CanHandleWndProc()
Declaration
protected virtual bool CanHandleWndProc()
Returns
System.
|
CreateChildItems(RadElement)
Declaration
public override void CreateChildItems(RadElement parent)
Parameters
Rad
|
Overrides
CreateFormElement()
CreateParams(CreateParams)
Declaration
public override CreateParams CreateParams(CreateParams parameters)
Parameters
System.
|
Returns
System.
|
Overrides
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
System.
|
Overrides
DisposeNonClientUIControlImpls()
Declaration
protected virtual void DisposeNonClientUIControlImpls()
ExtendFrameIntoClientArea()
Declaration
protected virtual void ExtendFrameIntoClientArea()
Form_ControlAdded(Object, ControlEventArgs)
Declaration
protected virtual void Form_ControlAdded(object sender, ControlEventArgs e)
Parameters
System.
|
System.
|
Form_Load(Object, EventArgs)
Declaration
protected virtual void Form_Load(object sender, EventArgs e)
Parameters
System.
|
System.
|
Form_SizeChanged(Object, EventArgs)
Declaration
protected virtual void Form_SizeChanged(object sender, EventArgs e)
Parameters
System.
|
System.
|
FormHandleCreated()
Declaration
public override void FormHandleCreated()
Overrides
HandleWndProc(ref Message)
Declaration
public override bool HandleWndProc(ref Message m)
Parameters
System.
|
Returns
System.
|
Overrides
InitializeDummyMenuStrip()
Declaration
protected virtual void InitializeDummyMenuStrip()
InitializeNonClientUIControl()
Declaration
protected abstract void InitializeNonClientUIControl()
IsApplicationMenu()
Declaration
protected virtual bool IsApplicationMenu()
Returns
System.
|
NCFromClientCoordinates(Point)
Declaration
protected virtual Point NCFromClientCoordinates(Point clientCoordinates)
Parameters
System.
|
Returns
System.
|
OnActiveMDIChildTextChanged()
Declaration
protected override void OnActiveMDIChildTextChanged()
Overrides
OnAssociatedFormPaintBackground(PaintEventArgs)
Declaration
public override bool OnAssociatedFormPaintBackground(PaintEventArgs args)
Parameters
System.
|
Returns
System.
|
Overrides
OnFormAssociated()
Declaration
protected override void OnFormAssociated()
Overrides
OnGetMinMaxInfo(MinMaxInfo)
Declaration
protected override void OnGetMinMaxInfo(MinMaxInfo minMaxInfo)
Parameters
Min
|
Overrides
OnWMActivateCore(ref Message)
Declaration
protected abstract void OnWMActivateCore(ref Message m)
Parameters
System.
|
OnWmMDIActivate(ref Message)
Declaration
protected virtual bool OnWmMDIActivate(ref Message m)
Parameters
System.
|
Returns
System.
|
OnWmNCLeftMouseButtonDown(ref Message)
Declaration
protected abstract void OnWmNCLeftMouseButtonDown(ref Message m)
Parameters
System.
|
OnWmNCLeftMouseButtonUp(ref Message)
Declaration
protected abstract void OnWmNCLeftMouseButtonUp(ref Message m)
Parameters
System.
|
OnWMNCRightButtonUp(ref Message)
Declaration
protected virtual void OnWMNCRightButtonUp(ref Message m)
Parameters
System.
|
OnWmParentNotifyInDesigner(ref Message)
Declaration
protected virtual void OnWmParentNotifyInDesigner(ref Message m)
Parameters
System.
|
OnWmSetIcon(ref Message)
Declaration
protected virtual void OnWmSetIcon(ref Message m)
Parameters
System.
|
OnWmSetText(ref Message)
Declaration
protected virtual void OnWmSetText(ref Message m)
Parameters
System.
|
ResetFormRegion()
Declaration
protected void ResetFormRegion()
UpdateFormForThemingState(Boolean)
Declaration
protected abstract void UpdateFormForThemingState(bool showAero)
Parameters
System.
|
UpdateMDIButtonsAndCaptionText()
Declaration
protected virtual void UpdateMDIButtonsAndCaptionText()
UpdateNCComposition()
Declaration
protected abstract void UpdateNCComposition()