Click or drag to resize
RadControl Class
Represents a RadControl. RadControl is an abstract class and is base class for all Telerik controls.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          Telerik.WinControlsRadControl
            More...

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2017.3.1017.40 (2017.3.1017.40)
Syntax
public class RadControl : ScrollableControl, INotifyPropertyChanged, 
	ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, 
	IAnalyticsProvider

The RadControl type exposes the following members.

Constructors
  NameDescription
Public methodRadControl
Initializes a new instance of the RadControl class
Top
Properties
  NameDescription
Public propertyAccessibilityRequested
Gets or sets a value indicating whether the CodedUI Tests functionality is requested from external program such a Narrator.
Public propertyAllowShowFocusCues
Indicates focus cues display, when available, based on the corresponding control type and the current UI state.
Public propertyAnalyticsName
Gets or sets the Analytics Name associated with this control. By default the Control Name property is logged. If you want to customize the information which will be logged for this control set this property to a preferred value.
Public propertyAutoSize

Gets or sets a value indicating whether the control is automatically resized to display its entire contents.

(Overrides ControlAutoSize.)
Public propertyBackColor
Gets or sets the BackColor of the control. This is actually the BackColor property of the root element.
(Overrides ControlBackColor.)
Public propertyBehavior
Gets the input behavior for the control.
Public propertyCausesValidation
Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
Public propertyCommandBindings
Public propertyElementTree
Public propertyEnableAnalytics
Gets or sets a value indicating whether the Analytics functionality is enabled or disabled for this control.
Public propertyEnableCodedUITests
Gets or sets a value indicating whether the CodedUI Tests functionality is enabled.
Public propertyStatic memberEnableCodedUITestsDefaultValue
Gets or sets the default value for EnableCodedUITests property.
Public propertyStatic memberEnableDpiScaling
Gets or sets a value indicating whether the RadControls scaling logic will be used when the application is run in a high DPI environment.
Public propertyEnableGestures
Gets or sets a value indicating whether the Gestures functionality is enabled.
Public propertyEnableKeyMap
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.
Public propertyEnableRadAccessibilityObjects
Gets or sets a value indicating whether the RadControls Accessible custom object is enabled.
Public propertyEnableTheming
Gets or sets value indicating whether the control is styled through theme
Public propertyFocusable
Public propertyFocusedElement
Public propertyFont
Gets or sets the Font of the control. This is actually the Font property of the root element.
(Overrides ControlFont.)
Public propertyForeColor
Gets or sets the ForeColor of the control. This is actually the ForeColor property of the root element.
(Overrides ControlForeColor.)
Public propertyImageList
Gets or sets the ImageList that contains the images displayed by this control.
Public propertyImageScalingSize
Gets or sets the image scaling size.
Public propertyIsDesignMode
Public propertyIsDisplayed
Determines whether the control is currently displayed on the screen.
Public propertyIsInitializing
Public propertyIsLoaded
Determines whether the control is properly loaded.
Public propertyStatic memberIsTrial
Public propertyLayoutManager
Public propertyMaximumSize
Gets or sets the size that is the upper limit that GetPreferredSize can specify.
(Overrides ControlMaximumSize.)
Public propertyMinimumSize
Gets or sets the size that is the lower limit that GetPreferredSize can specify
(Overrides ControlMinimumSize.)
Public propertyPadding
Gets or sets padding within the control.
Public propertyRootElement
Gets the RootElement of the control.
Public propertyShowItemToolTips
Gets or sets a value indicating whether ToolTips are shown for the RadItem objects contained in the RadControl.
Public propertySite (Overrides ControlSite.)
Public propertySmallImageList
Gets or sets the SmallImageList that contains the small images which are displayed when there's not enough space.
Public propertySmallImageScalingSize
Gets or sets the small image scaling size.
Public propertyText (Overrides ControlText.)
Public propertyThemeClassName
Gets or sets the class name string that ThemeResolutionService will use to find the themes registered for the control.
Public propertyThemeName
Gets or sets control's preferred theme name. Themes are stored and retrieved using APIs of ThemeResolutionService.
Public propertyUseCompatibleTextRendering
Determines whether to use compatible text rendering engine (GDI+) or not (GDI).
Public propertyStatic memberUseCompatibleTextRenderingDefaultValue
Set or get the default value for UseCompatibleTextRendering property.
Protected propertyValidationCancel
Top
Methods
  NameDescription
Public methodBeginInit
Suspends layout during initialization.
Public methodCallAccessibilityNotifyClients
This method is used internally!
Public methodCallBaseOnGotFocus
This method is used internally!
Public methodCallBaseOnKeyDown
This method is used internally!
Public methodCallBaseOnKeyPress
This method is used internally!
Public methodCallBaseOnKeyUp
This method is used internally!
Public methodCallBaseOnLostFocus
This method is used internally!
Public methodCallOnClick
This method is used internally!
Public methodCallOnDoubleClick
This method is used internally!
Public methodCallOnKeyDown
This method is used internally!
Public methodCallOnKeyPress
This method is used internally!
Public methodCallOnKeyUp
This method is used internally!
Public methodCallOnMouseCaptureChanged
This method is used internally!
Public methodCallOnMouseDown
This method is used internally!
Public methodCallOnMouseEnter
This method is used internally!
Public methodCallOnMouseHover
This method is used internally!
Public methodCallOnMouseLeave
This method is used internally!
Public methodCallOnMouseMove
This method is used internally!
Public methodCallOnMouseUp
This method is used internally!
Public methodCallOnMouseWheel
This method is used internally!
Public methodCallOnPreviewKeyDown
This method is used internally!
Public methodCallOnScreenTipNeeded
This method is used internally!
Public methodCallOnThemeNameChanged
This method is used internally!
Public methodCallOnToolTipTextNeeded
This method is used internally!
Public methodCallOnVisibleChanged
This method is used internally!
Protected methodCanEditElementAtDesignTime
Determines whether an element may be edited via the EditUIElements dialog at design-time.
Public methodCanEditUIElement
Determines whether an element from this element tree may be displayed in the EditUIElements dialog.
Protected methodConstruct
Public methodControlDefinesThemeForElement
Checks whether the element's theme is defined by the control.
Protected methodCreateBehavior
Creates the input behavior instance. Allows inheritors to provide custom input implementations.
Protected methodCreateChildItems
Protected methodCreateRootElement
Public methodDisableGesture
Disable firing gesture events of the specified type.
Protected methodDispose
Releases the unmanaged resources used by the RadControl and optionally releases the managed resources
(Overrides ControlDispose(Boolean).)
Public methodEnableGesture
Enable firing gesture events of the specified type.
Public methodEndInit
Resumes layout.
Protected methodFindPropertyInChildren
Public methodGetChildAt
Method used by control Code Dom serializer to access element in the collection of RootElement.
Public methodGetControlDefaultSize
This method is used internally!
Public methodStatic memberGetDpiScaledSize(Size)
Public methodStatic memberGetDpiScaledSize(SizeF)
Protected methodGetInputElement
Public methodGetPlainText
Strips all html tags of the text set to the control and returns only the plain text.
Public methodGetPreferredSize (Overrides ControlGetPreferredSize(Size).)
Protected methodGetRootElementDesiredSize
Protected methodInitializeRootElement
Public methodInvokeLayoutCallback
Protected methodIsInputKey (Overrides ControlIsInputKey(Keys).)
Public methodLoadElementTree
Loads the element tree. While not loaded, no layout operations are allowed upon the tree. By default, the tree will be loaded when the control is displayed for the first time.
Public methodLoadElementTree(Size)
Loads the element tree using the specified desired size.
Protected methodOnAutoSizeChanged (Overrides ControlOnAutoSizeChanged(EventArgs).)
Protected methodOnBackColorChanged (Overrides ControlOnBackColorChanged(EventArgs).)
Protected methodOnBindingContextChanged (Overrides ControlOnBindingContextChanged(EventArgs).)
Protected methodOnCaptureLosing
Protected methodOnClick (Overrides ControlOnClick(EventArgs).)
Protected methodOnCreateControl (Overrides ControlOnCreateControl.)
Protected methodOnDoubleClick (Overrides ControlOnDoubleClick(EventArgs).)
Protected methodOnEnabledChanged (Overrides ControlOnEnabledChanged(EventArgs).)
Protected methodOnFontChanged (Overrides ControlOnFontChanged(EventArgs).)
Protected methodOnForeColorChanged (Overrides ControlOnForeColorChanged(EventArgs).)
Protected methodOnGesture
Protected methodOnGotFocus (Overrides ControlOnGotFocus(EventArgs).)
Protected methodOnHandleDestroyed (Overrides ControlOnHandleDestroyed(EventArgs).)
Protected methodOnInvalidated
Protected methodOnKeyDown (Overrides ControlOnKeyDown(KeyEventArgs).)
Protected methodOnKeyPress (Overrides ControlOnKeyPress(KeyPressEventArgs).)
Protected methodOnKeyUp (Overrides ControlOnKeyUp(KeyEventArgs).)
Protected methodOnLayout (Overrides ScrollableControlOnLayout(LayoutEventArgs).)
Protected methodOnLoad
Notifies that the control is about to be visualized.
Protected methodOnLocationChanged (Overrides ControlOnLocationChanged(EventArgs).)
Protected methodOnLostFocus (Overrides ControlOnLostFocus(EventArgs).)
Protected methodOnMouseCaptureChanged (Overrides ControlOnMouseCaptureChanged(EventArgs).)
Protected methodOnMouseDown (Overrides ControlOnMouseDown(MouseEventArgs).)
Protected methodOnMouseEnter (Overrides ControlOnMouseEnter(EventArgs).)
Protected methodOnMouseHover (Overrides ControlOnMouseHover(EventArgs).)
Protected methodOnMouseLeave (Overrides ControlOnMouseLeave(EventArgs).)
Protected methodOnMouseMove (Overrides ControlOnMouseMove(MouseEventArgs).)
Protected methodOnMouseUp (Overrides ControlOnMouseUp(MouseEventArgs).)
Protected methodOnMouseWheel (Overrides ScrollableControlOnMouseWheel(MouseEventArgs).)
Protected methodOnNotifyPropertyChanged(PropertyChangedEventArgs)
Protected methodOnNotifyPropertyChanged(String)
Raises the PropertyChanged event
Protected methodOnPaddingChanged (Overrides ScrollableControlOnPaddingChanged(EventArgs).)
Protected methodOnPaint (Overrides ControlOnPaint(PaintEventArgs).)
Protected methodOnPanGesture
Fires the PanGesture event.
Protected methodOnParentChanged (Overrides ControlOnParentChanged(EventArgs).)
Protected methodOnPressAndTapGesture
Fires the PressAndTapGesture event.
Protected methodOnPreviewKeyDown (Overrides ControlOnPreviewKeyDown(PreviewKeyDownEventArgs).)
Protected methodOnRightToLeftChanged (Overrides ScrollableControlOnRightToLeftChanged(EventArgs).)
Protected methodOnRotateGesture
Fires the RotateGesture event.
Protected methodOnScreenTipNeeded
Protected methodOnThemeChanged
Protected methodOnThemeNameChanged
Protected methodOnToolTipTextNeeded
Protected methodOnTwoFingerTapGesture
Fires the TwoFingerTapGesture event.
Protected methodOnZoomGesture
Fires the ZoomGesture event.
Protected methodProcessAutoSizeChanged
Protected methodProcessCaptureChangeRequested
Processes a capture request from the specified element.
Protected methodProcessCodedUIMessage
Protected methodProcessFocusRequested
Processes a focus request from the specified element.
Protected methodProcessGesture
Protected methodProcessMnemonic (Overrides ControlProcessMnemonic(Char).)
Public methodRefresh (Overrides ControlRefresh.)
Public methodRegisterHostedControl
Protected methodResetBackColorThemeOverrides
Protected methodResetForeColorThemeOverrides
Public methodResolveStyleGroupForElement
Replaces the default style group for specific element.
Public methodResumeUpdate
Public methodResumeUpdate(Boolean)
Protected methodScaleControl (Overrides ScrollableControlScaleControl(SizeF, BoundsSpecified).)
Protected methodSetBackColorThemeOverrides
Protected methodSetBoundsCore (Overrides ControlSetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified).)
Protected methodSetForeColorThemeOverrides
Public methodSetIsInitializing
This method is used internally!
Public methodShouldSerializeBackColor
Determines whether the BackColor property should be serialized.
Public methodShouldSerializeFont
Determines whether the ForeColor property should be serialized.
Public methodShouldSerializeForeColor
Determines whether the ForeColor property should be serialized.
Protected methodShouldSerializeProperty
Determines whether the specified RadProperty should be serialized.
Public methodSuspendUpdate
Public methodUnregisterHostedControl
Protected methodWndProc (Overrides ScrollableControlWndProc(Message).)
Top
Events
  NameDescription
Public eventElementInvalidated
Public eventInitialized
Fires when the control is initialized.
Public eventPanGesture
Occurs when a pan gesture was sent by a touch input device.
Public eventPressAndTapGesture
Occurs when a press-and-tap gesture was sent by a touch input device.
Public eventPropertyChanged
Occurs when a property of an object changes change. Calling the event is developer's responsibility.
Public eventRotateGesture
Occurs when a rotate gesture was sent by a touch input device.
Public eventScreenTipNeeded
Occurs prior the ScreenTip of a RadItem instance inside the RadControl is displayed.
Public eventThemeNameChanged
Fires when the theme name is changed.
Public eventToolTipTextNeeded
Occurs when a RadItem instance inside the RadControl requires ToolTip text.
Public eventTwoFingerTapGesture
Occurs when a two-finger-tap gesture was sent by a touch input device.
Public eventZoomGesture
Occurs when a zoom gesture was sent by a touch input device.
Top
Fields
See Also
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          Telerik.WinControlsRadControl
            Telerik.WinControlsMeasurementControl
            Telerik.WinControlsRadItemsControl
            Telerik.WinControlsRadNCEnabledControl
            Telerik.WinControlsRadScreenTip
            Telerik.WinControls.UIColumnChooserControl
            Telerik.WinControls.UI.DockingDockingGuidesControl
            Telerik.WinControls.UI.DockingQuickNavigator
            Telerik.WinControls.UIEditorBaseControl
            Telerik.WinControls.UI.GaugesRadLinearGauge
            Telerik.WinControls.UI.GaugesRadRadialGauge
            Telerik.WinControls.UILayoutControlDraggableOverlay
            Telerik.WinControls.UIRadBindingNavigator
            Telerik.WinControls.UIRadBreadCrumb
            Telerik.WinControls.UIRadBrowseEditor
            Telerik.WinControls.UIRadButtonBase
            Telerik.WinControls.UIRadCalculatorDropDown
            Telerik.WinControls.UIRadCalendar
            Telerik.WinControls.UIRadCalendarFastNavigationControl
            Telerik.WinControls.UIRadCarousel
            Telerik.WinControls.UIRadChartView
            Telerik.WinControls.UIRadClock
            Telerik.WinControls.UIRadCollapsiblePanel
            Telerik.WinControls.UIRadColorBox
            Telerik.WinControls.UI.RadColorPickerTransparentColorBox
            Telerik.WinControls.UIRadCommandBar
            Telerik.WinControls.UIRadCommandBarOverflowPanelHostContol
            Telerik.WinControls.UIRadDateTimePicker
            Telerik.WinControls.UIRadDiagram
            Telerik.WinControls.UIRadDropDownButton
            Telerik.WinControls.UIRadDropDownList
            Telerik.WinControls.UIRadGanttView
            Telerik.WinControls.UIRadGridView
            Telerik.WinControls.UIRadGroupBox
            Telerik.WinControls.UIRadLabel
            Telerik.WinControls.UIRadListControl
            Telerik.WinControls.UIRadListView
            Telerik.WinControls.UIRadMap
            Telerik.WinControls.UIRadMaskedEditBox
            Telerik.WinControls.UIRadMultiColumnComboBox
            Telerik.WinControls.UIRadPanel
            Telerik.WinControls.UIRadPanorama
            Telerik.WinControls.UIRadPdfViewer
            Telerik.WinControls.UIRadPivotGrid
            Telerik.WinControls.UIRadPopupControlBase
            Telerik.WinControls.UIRadPopupEditor
            Telerik.WinControls.UIRadProgressBar
            Telerik.WinControls.UIRadPropertyGrid
            Telerik.WinControls.UIRadRangeSelector
            Telerik.WinControls.UIRadRating
            Telerik.WinControls.UIRadRibbonBar
            Telerik.WinControls.UIRadRibbonBarBackstageView
            Telerik.WinControls.UIRadRichTextEditor
            Telerik.WinControls.UIRadRichTextEditorRuler
            Telerik.WinControls.UIRadRotator
            Telerik.WinControls.UIRadScheduler
            Telerik.WinControls.UIRadSchedulerNavigator
            Telerik.WinControls.UIRadScrollablePanel
            Telerik.WinControls.UIRadScrollBar
            Telerik.WinControls.UIRadSeparator
            Telerik.WinControls.UIRadSpinEditor
            Telerik.WinControls.UIRadSplitter
            Telerik.WinControls.UIRadSpreadsheet
            Telerik.WinControls.UIRadStatusStrip
            Telerik.WinControls.UIRadTextBoxBase
            Telerik.WinControls.UIRadTextBoxControl
            Telerik.WinControls.UIRadTimePicker
            Telerik.WinControls.UIRadTimePickerContent
            Telerik.WinControls.UIRadTitleBar
            Telerik.WinControls.UIRadToggleSwitch
            Telerik.WinControls.UIRadTrackBar
            Telerik.WinControls.UIRadTreeView
            Telerik.WinControls.UIRadVirtualGrid
            Telerik.WinControls.UIRadWaitingBar
            Telerik.WinControls.UIRadWizard
            Telerik.WinControls.UISplitPanel
            Telerik.WinControls.UITimePickerDoneButtonContent
            Telerik.WinControls.UIWatermarkPreviewControl
            Telerik.WinControls.UIZoomPopup
            Telerik.WinForms.Controls.Spreadsheet.DialogsBorderPreviewControl
            Telerik.WinForms.Controls.Spreadsheet.DialogsFillControl