Click or drag to resize
RadFormBehavior Methods

The RadFormBehavior type exposes the following members.

Methods
  NameDescription
Protected methodAdjustFormElementForCurrentStyles
This method adjusts the FormElement according to the styles currently applied to the Form. For example, the MinimizeButton, MaximizeButton and CloseButton in the Title Bar are enabled/disabled according to whether the corresponding window style is applied.
Protected methodAdjustFormElementForFormState
Changes the visibility of the separate items within the RadFormElement's element tree according to the current Form state.
Public methodCalculateDynamicClientMargin
Calculates the client margin based on the current form and form element settings
Protected methodCallBaseWndProc (Inherited from FormControlBehavior.)
Protected methodCallDefWndProc (Inherited from FormControlBehavior.)
Public methodCreateChildItems (Overrides FormControlBehaviorCreateChildItems(RadElement).)
Protected methodCreateFormElement
Public methodCreateParams (Overrides ThemedFormBehaviorCreateParams(CreateParams).)
Protected methodDispose (Overrides ThemedFormBehaviorDispose(Boolean).)
Public methodFormHandleCreated (Inherited from FormControlBehavior.)
Protected methodGetDynamicCaptionHeight
Gets the Caption Height according to the Styles applied and the current state of the form.
Protected methodGetMappedWindowPoint
This method transforms screen coordinates into local coordinates.
(Inherited from ThemedFormBehavior.)
Protected methodGetMaximumFormHeightAccordingToCurrentScreen
This method returns the maximum available height according to the current position of the form in multi-monitor setup.
(Inherited from ThemedFormBehavior.)
Protected methodGetWindowRealNCMargin
Gets a Padding object which represents the window NC margin according to the currently set styles.
Public methodHandleWndProc (Overrides ThemedFormBehaviorHandleWndProc(Message).)
Public methodInvalidateElement (Overrides ThemedFormBehaviorInvalidateElement(RadElement, Rectangle).)
Protected methodInvalidateNC
Invalidates the specified bounds in the non-client area of the form this behavior is associated with.
(Inherited from ThemedFormBehavior.)
Protected methodNCFromClientCoordinates
This method translates a point which is in client coordinates to a point in NC coordinates. Used when the Form has captured the mouse and NC mouse events have to be processed.
Protected methodOnActiveMDIChildTextChanged (Overrides ThemedFormBehaviorOnActiveMDIChildTextChanged.)
Public methodOnAssociatedFormPaint (Inherited from FormControlBehavior.)
Public methodOnAssociatedFormPaintBackground (Inherited from FormControlBehavior.)
Protected methodOnFormAssociated
Fires when a Form has been associated with the behavior.
(Overrides ThemedFormBehaviorOnFormAssociated.)
Protected methodOnGetMinMaxInfo
This event is fired when the WM_GETMINMAXINFO message is sent to the form.
(Inherited from ThemedFormBehavior.)
Protected methodOnNCPaint
This event is fired when the WM_NCPAINT message is sent to the form.
(Inherited from ThemedFormBehavior.)
Protected methodOnWindowStateChanged (Overrides ThemedFormBehaviorOnWindowStateChanged(Int32, Int32).)
Protected methodPaintElement
Paints an element on a specified graphics.
(Inherited from ThemedFormBehavior.)
Protected methodRefreshNC
Immediately refreshes the whole non-client area of the form which this behavior is associated with.
(Inherited from ThemedFormBehavior.)
Protected methodSynchronizeHorizontalScrollbarState
Calculates the bounding rectangle of the horizontal scrollbar.
Protected methodSynchronizeHorizontalScrollbarValues
This method synchronizes the values of the standard horizontal scrollbar with the RadScrollBarElement in the Form's element hierarchy.
Protected methodSynchronizeScrollbarsValues
Protected methodSynchronizeVerticalScrollbarState
Calculates the bounding rectangle of the vertical scrollbar.
Protected methodSynchronizeVerticalScrollbarValues
This method synchronizes the values of the standard vertical scrollbar with the RadScrollBarElement in the Form's element hierarchy.
Top
See Also