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