Class ComponentBehavior
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class ComponentBehavior : IDisposable
Constructors
ComponentBehavior(IComponentTreeHandler)
Declaration
public ComponentBehavior(IComponentTreeHandler owner)
Parameters
IComponentTreeHandler
owner
|
Fields
ItemCaptureState
Declaration
protected bool ItemCaptureState
Field Value
System.Boolean
|
Properties
ActiveKeyMapItem
AllowShowFocusCues
Indicates focus cues display, when available, based on the corresponding control type and the current UI state.
Declaration
public virtual bool AllowShowFocusCues { get; set; }
Property Value
System.Boolean
|
BitmapRepository
CommandBindings
Declaration
public InputBindingsCollection CommandBindings { get; }
Property Value
InputBindingsCollection
|
CurrentFocusedElement
This property is used internally!
Declaration
public RadElement CurrentFocusedElement { get; }
Property Value
RadElement
|
DefaultShowItemToolTips
Declaration
protected virtual bool DefaultShowItemToolTips { get; }
Property Value
System.Boolean
|
EnableKeyMap
Gets or sets whether Key Map (Office 2007 like accelerator keys map) is used for this specific control. Currently this option is implemented for the RadRibbonBar control only.
Declaration
public bool EnableKeyMap { get; set; }
Property Value
System.Boolean
|
EnableKeyTips
Gets or sets whether Key Tips (Office 2007 like accelerator keys map) are used for this specific control.
Declaration
public virtual bool EnableKeyTips { get; set; }
Property Value
System.Boolean
|
FocusedElement
IsKeyMapActive
This property is used internally!
Declaration
public bool IsKeyMapActive { get; }
Property Value
System.Boolean
|
IsParentFormActive
Gets whether this instance of RadControl is on a active form
Declaration
protected bool IsParentFormActive { get; }
Property Value
System.Boolean
|
ItemCapture
Only RadItem should manipulate this property
Declaration
public RadElement ItemCapture { get; set; }
Property Value
RadElement
|
LastFocusedElement
This property is used internally!
Declaration
public RadElement LastFocusedElement { get; }
Property Value
RadElement
|
MouseOver
Determines whether the mouse over the owning IComponentTreeHandler instance.
Declaration
public bool MouseOver { get; }
Property Value
System.Boolean
|
Owner
OwnerControl
Declaration
protected Control OwnerControl { get; }
Property Value
System.Windows.Forms.Control
|
SelectedElement
Gets the current selected element (hovered by the mouse).
Declaration
public RadElement SelectedElement { get; }
Property Value
RadElement
|
Shortcuts
Gets the shortcust collection.
Declaration
public Shortcuts Shortcuts { get; }
Property Value
Shortcuts
|
ShowItemToolTips
Gets or sets a value indicating whether ToolTips are shown for the RadItem objects contained in the RadControl.
Declaration
public bool ShowItemToolTips { get; set; }
Property Value
System.Boolean
|
ShowScreenTipsBellowControl
Gets or sets value indicating whether the control should show all screen tips under the control client rectangle, as required for the RibbonBar control, for example
Declaration
public bool ShowScreenTipsBellowControl { get; set; }
Property Value
System.Boolean
|
ToolTip
Gets the tool tip
Declaration
public ToolTip ToolTip { get; }
Property Value
System.Windows.Forms.ToolTip
The tool tip. |
ToolTipOffsetX
Gets or sets the value of how much the tooltip will be moved on the X coordinate
Declaration
public int ToolTipOffsetX { get; set; }
Property Value
System.Int32
|
ToolTipOffsetY
Gets or sets the value of how much the tooltip will be moved on the Y coordinate
Declaration
public int ToolTipOffsetY { get; set; }
Property Value
System.Int32
|
Methods
ActivateKeyTipItem(Keys, String)
Declaration
public void ActivateKeyTipItem(Keys input, string inputString)
Parameters
System.Windows.Forms.Keys
input
|
System.String
inputString
|
ActivateSelectedItem(RadItem)
Declaration
protected virtual bool ActivateSelectedItem(RadItem currentKeyMapItem)
Parameters
RadItem
currentKeyMapItem
|
Returns
System.Boolean
|
Dispose()
Declaration
public void Dispose()
Implements
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
System.Boolean
disposing
|
DisposeAdornerLayer()
Declaration
protected virtual void DisposeAdornerLayer()
DisposeKeyTips()
Clears all resources reserved for the KeyTips functionality
Declaration
protected virtual void DisposeKeyTips()
FindFormInternal(Control)
This method is used internally.
Declaration
public Form FindFormInternal(Control control)
Parameters
System.Windows.Forms.Control
control
|
Returns
System.Windows.Forms.Form
|
GetActivatedItem(Control, Char)
Declaration
protected RadItem GetActivatedItem(Control control, char charCode)
Parameters
System.Windows.Forms.Control
control
|
System.Char
charCode
|
Returns
RadItem
|
GetActivatedItem(RadElement, Char)
Declaration
protected RadItem GetActivatedItem(RadElement element, char charCode)
Parameters
RadElement
element
|
System.Char
charCode
|
Returns
RadItem
|
GetCurrentKeyMap(RadItem)
Declaration
public virtual List<RadItem> GetCurrentKeyMap(RadItem currentKeyMapItem)
Parameters
RadItem
currentKeyMapItem
|
Returns
System.Collections.Generic.List<RadItem>
|
GetKeyFocusChildren(RadItem)
Declaration
protected virtual List<RadItem> GetKeyFocusChildren(RadItem currentKeyMapItem)
Parameters
RadItem
currentKeyMapItem
|
Returns
System.Collections.Generic.List<RadItem>
|
GetKeyMapFocus()
Declaration
protected bool GetKeyMapFocus()
Returns
System.Boolean
|
GetKeyStringRepresentation(Keys)
Declaration
protected virtual string GetKeyStringRepresentation(Keys input)
Parameters
System.Windows.Forms.Keys
input
|
Returns
System.String
|
GetMnemonicText(String)
Declaration
protected virtual string GetMnemonicText(string text)
Parameters
System.String
text
|
Returns
System.String
|
GetRootItems()
Declaration
protected virtual List<RadItem> GetRootItems()
Returns
System.Collections.Generic.List<RadItem>
|
GetThemedChildControlsList(Control, List<Control>)
Declaration
protected virtual void GetThemedChildControlsList(Control control, List<Control> mnemonicList)
Parameters
System.Windows.Forms.Control
control
|
System.Collections.Generic.List<System.Windows.Forms.Control>
mnemonicList
|
GetValidChildControlByMnemonic(List<Control>, Char)
Declaration
protected virtual Control GetValidChildControlByMnemonic(List<Control> mnemonicList, char charCode)
Parameters
System.Collections.Generic.List<System.Windows.Forms.Control>
mnemonicList
|
System.Char
charCode
|
Returns
System.Windows.Forms.Control
|
HideScreenTip()
Declaration
public void HideScreenTip()
InitializeAdornerLayer()
Declaration
protected virtual void InitializeAdornerLayer()
InitializeKeyMap()
Declaration
protected virtual void InitializeKeyMap()
IsExactMatch(RadItem, String)
Declaration
protected virtual bool IsExactMatch(RadItem item, string keyTipFragment)
Parameters
RadItem
item
|
System.String
keyTipFragment
|
Returns
System.Boolean
|
IsFocusWithin(RadElement)
Checks is a given element or any of its descendants contain the focus.
Declaration
public bool IsFocusWithin(RadElement element)
Parameters
RadElement
element
The element. |
Returns
System.Boolean
[true] if the element or any of its children contain focus, [false] otherwise. |
IsIndexOfItemKeyTip(RadItem, String)
Declaration
protected virtual int IsIndexOfItemKeyTip(RadItem item, string keyTipFragment)
Parameters
RadItem
item
|
System.String
keyTipFragment
|
Returns
System.Int32
|
IsPartOfKeyTip(Keys, String)
Declaration
protected virtual bool IsPartOfKeyTip(Keys input, string representation)
Parameters
System.Windows.Forms.Keys
input
|
System.String
representation
|
Returns
System.Boolean
|
OnEnableKeyTipsChanged()
Declaration
protected virtual void OnEnableKeyTipsChanged()
OnGotFocus(EventArgs)
Declaration
public virtual bool OnGotFocus(EventArgs e)
Parameters
System.EventArgs
e
|
Returns
System.Boolean
|
OnLostFocus(EventArgs)
Declaration
public virtual bool OnLostFocus(EventArgs e)
Parameters
System.EventArgs
e
|
Returns
System.Boolean
|
ProccessKeyMap(Keys)
This method is used internally.
Declaration
public virtual bool ProccessKeyMap(Keys input)
Parameters
System.Windows.Forms.Keys
input
|
Returns
System.Boolean
|
ProcessMnemonic(Char)
Declaration
protected bool ProcessMnemonic(char charCode)
Parameters
System.Char
charCode
|
Returns
System.Boolean
|
ProcessMnemonicChar(Char)
Declaration
protected virtual bool ProcessMnemonicChar(char charCode)
Parameters
System.Char
charCode
|
Returns
System.Boolean
|
ProcessUnmappedItems(List<RadItem>)
Declaration
protected virtual int ProcessUnmappedItems(List<RadItem> childrenToBeMapped)
Parameters
System.Collections.Generic.List<RadItem>
childrenToBeMapped
|
Returns
System.Int32
|
ResetKeyMap()
Declaration
protected virtual void ResetKeyMap()
ResetKeyMapInternal()
Declaration
protected virtual void ResetKeyMapInternal()
ReturnKeyMapFocus()
Declaration
protected bool ReturnKeyMapFocus()
Returns
System.Boolean
|
SetElementValue(RadElement, RadProperty, Object)
Declaration
public void SetElementValue(RadElement element, RadProperty dependencyProperty, object value)
Parameters
RadElement
element
|
RadProperty
dependencyProperty
|
System.Object
value
|
SetInternalKeyMapFocus()
Declaration
protected virtual bool SetInternalKeyMapFocus()
Returns
System.Boolean
|
SetKeyMap()
Declaration
public virtual bool SetKeyMap()
Returns
System.Boolean
|