Click or drag to resize
RadElement Class
RadElement class represents the smallest unit in a RadControl that can be painted or that has a layout slot in a RadControl. Generally each RadCotnrol is composed of a tree of RadElements. The tree has as a root the RootElement and children Children property.
Inheritance Hierarchy
SystemObject
  Telerik.WinControlsDisposableObject
    Telerik.WinControlsRadObject
      Telerik.WinControlsRadElement
        More...

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2017.3.912.40 (2017.3.912.40)
Syntax
public class RadElement : RadObject, ISupportSystemSkin, 
	IStylableNode

The RadElement type exposes the following members.

Constructors
  NameDescription
Public methodRadElement
Initializes a new instance of the RadElement class
Top
Properties
  NameDescription
Public propertyAlignment
Gets or sets the preferred location of the element if its size is less than its parent size.
Public propertyAngleTransform
Gets or sets the rotation transform angle used when painting the element and its children.
Public propertyArrangeInProgress
This property is used internally!
Public propertyArrangeIsDirty
This property is used internally!
Protected propertyAutoNumberKeyTip
Public propertyAutoSize
Gets or sets a value indicating whether the element size will be calculated automatically by the layout system. Value of false indicates that the element's size will not be changed when calculating the layout.
Public propertyAutoSizeMode
Gets or sets the way the element should calculate its Size, when the AutoSize property is set to true.
Public propertyAutoToolTip
Public propertyBackgroundShape
Gets or sets the RadImageShape that describes the background of the element.
Public propertyBindingContext
Gets or sets the BindingContext for the object.
(Inherited from RadObject.)
Protected propertyBitState
Gets the RadBitVector64 structure that holds all the bit states of the object.
(Inherited from DisposableObject.)
Public propertyBorderThickness
Gets or sets the border thickness of the element. This thickness is included into the element's bounding rectangle.
Public propertyBoundingRectangle
Represents the rectangle which surrounds the element bounds after the rotation caused by setting the AngleTransform property to some degree. The rectangle is in parent element's coordinates.
Public propertyBounds
Gets or sets a value corresponding to the bounding rectangle of the element. Location and/or Size portions of the bounds may be calculated automatically based on the current AutoSize and AutoSizeMode settings.
Public propertyBypassLayoutPolicies
Public propertyCanFocus
Gets or sets a value indicating whether the element can receive input focus.
Public propertyCanHaveOwnStyle
Gets a value indicating whether the element can have its own style with style conditions.
Public propertyCapture
Public propertyCaptureOnMouseDown
Determines whether mouse will be captured upon MouseDown event.
Public propertyChildren
Gets the collection of elements that are child elements in the element tree.
Public propertyChildrenHierarchy
Enumerates entire subtree of elements (using depth-first approach), starting from this one as a root.
Public propertyClass
Gets or sets a string value indicating the element visual class name. It's used when a stylesheet has been applied to this element.
Public propertyClickMode
Specifies when the Click event should fire.
Public propertyClipDrawing
Indicates whether the painting of the element and its children should be restricted to its bounds.
Public propertyContainsFocus
Determines whether the element or one of its descendants currently contains the keyboard focus.
Public propertyContainsMouse
Determines whether the element or one of its descendants currently contains the mouse.
Public propertyControlBoundingRectangle
Represents the rectangle which surrounds the element bounds after the rotation caused by setting the AngleTransform property to some degree. The rectangle is in control coordinates.
Public propertyDesiredSize
Gets the element desired size.
Public propertyDoubleClickEnabled
Gets or sets a value indicating whether the DoubleClick event will fire for this item.
Public propertyDpiScaleFactor
Public propertyElementState
Gets the current state of the element.
Public propertyElementTree
Gets a reference to the tree object, that contains information about the scene where the element is currently visualized.
Public propertyEnabled
Gets or sets a value indicating whether the element can respond to user interaction.
Protected propertyEvents
Provides a simple list of delegates.
(Inherited from DisposableObject.)
Public propertyFitToSizeMode
Gets or sets a value indicating the way element will fill its available size when parent element is calculating element size and location.
Public propertyHideFromElementHierarchyEditor
This property is used internally!
Public propertyInvalidateChildrenOnChildChanged
Provide for use within TelerikLayoutEngine.
Public propertyInvalidateMeasureOnRemove
This property is used internally!
Protected propertyIsAbleToRespondToMouseEvents
Public propertyIsArrangeValid
Public propertyIsDesignMode
Determines whether the element is in design mode.
(Inherited from RadObject.)
Public propertyIsDisposed
Determines whether the object is already disposed.
(Inherited from DisposableObject.)
Public propertyIsDisposing
Determines whether the object is in a process of being disposed of.
(Inherited from DisposableObject.)
Public propertyIsElementVisible
Gets a value indicating if the element is visible.
Public propertyIsFocusable
This property is used internally!
Public propertyIsFocused
Gets a value indicating whether the element has input focus.
Protected propertyIsItemHovered
Public propertyIsLayoutSuspended
Gets a value indicating whether the layout is suspended or not.
Public propertyIsMeasureValid
Public propertyIsMouseDown
Gets or sets a value indicating whether the mouse button has been pressed when inside the bounds of the element.
Public propertyIsMouseOver
Gets or sets a value indicating whether the mouse has entered the bounds of the element or any of its sibling elements in the parent RadItem.
Public propertyIsMouseOverElement
Gets or sets a value indicating whether the mouse has entered the bounds of the element.
Public propertyIsThemeApplied
Gets a value indicating if theme finished applying
Public propertyLayoutableChildrenCount
Gets the count of all elements, which visibility is not ElementVisibility.Collapsed.
Public propertyLayoutManager
Gets the layout manager of the element. Will be null until the element is loaded on a visual scene.
Public propertyLocation
Gets or sets the location of the element based on the element parent rectangle. Corresponds to Bounds.Location
Public propertyMargin
Gets or sets a value corresponding to the margins of the element. Margins are not included into the element's bounding rectangle.
Public propertyMaxSize
Get or sets the maximum size to apply on an element when layout is calculated.
Public propertyMeasureInProgress
This property is used internally!
Public propertyMeasureIsDirty
This property is used internally!
Public propertyMinSize
Get or sets the minimum size to apply on an element when layout is calculated.
Public propertyName
Represents the element unique name.
Public propertyNeverArranged
This property is used internally!
Public propertyNeverMeasured
This property is used internally!
Public propertyNotifyParentOnMouseInput
Gets or sets a value indicating whether the element should pass the handled mouse event to the first parent element which has the ShouldHandleMouseInput property set to true.
Public propertyPadding
Gets or sets the padding sizes of the element. The paddings are included into the element's bounding rectangle.
Public propertyParent
Gets a reference to the parent element in the visual element tree.
Public propertyPositionOffset
Gets or sets the offset of the origin of the coordinate system used when painting the element and its children.
Public propertyPreviousArrangeRect
This property is used internally.
Public propertyPreviousConstraint
Public propertyPropagateStyleToChildren
Defines whether stylesheet rules should be applied for this element and its children, or only for this element
Public propertyPropertyFilter
Gets or sets a Filter instance, used to filter the ICustomPropertyDescriptor.GetProperties collection.
(Inherited from RadObject.)
Public propertyPropertyValues
Gets a collection containing property values.
(Inherited from RadObject.)
Public propertyRadObjectType
Gets the RadObjectType which is associated with this system type.
(Inherited from RadObject.)
Public propertyStatic memberRenderingMaxFramerate
Gets or sets a value indicating maximum rendered frames per second.
Public propertyRightToLeft
Gets or sets the direction of flow of the elements and whether elements are aligned to support locales using right-to-left fonts.
Public propertyScaleTransform
Gets or sets a value indicating the scale transform factors, when painting the element and its children.
Public propertyScreenTip
Public propertySerializeChildren
Gets or sets whether the children of this element should be serialized
Public propertySerializeElement
Gets or sets whether the element should be serialized in designer
Public propertySerializeProperties
Gets or sets whether the properties of this element should be serialized
Public propertyShape
Gets or sets an instance of the Shape object of an element. The shape of the element is both responsible for clipping the element's children and for providing its' border(s) with custom shape.
Public propertyShouldApplyTheme
Gets a value indicating if a theme should be applied
Public propertyShouldHandleMouseInput
Specifies whether the Item should handle MouseOver, MouseMove and related mouse events.
Public propertyShouldPaint
Gets or sets a value indicating whether the element should be painted.
Public propertyShouldPaintChildren
This property is used internally!
Protected propertyShouldPaintUsingParentShape
Public propertySize
Gets or sets the size of the element which is the height and width of the visual rectangle that would contain the graphics of the element. Size corresponds to element's Bounds.Size. When the AutoSize property is set to true setting the Size property to some value has no effect.
Public propertyStretchHorizontally
Public propertyStretchVertically
Public propertyStyle
Gets or sets the stylesheet associated with the element.
Public propertyTag
Protected propertyThemeEffectiveType
Public propertyToolTipText
Public propertyTotalTransform
Public propertyTransform
Public propertyTreeLevel
Gets the level of this element in the ElementTree it currently resides.
Public propertyUseCenteredAngleTransform
Gets a value indicating whether the AngleTransform should use the center of the object as origin for the transformation.
Public propertyUseCompatibleTextRendering
Determines whether to use compatible text rendering engine (GDI+) or not (GDI).
Public propertyUseSystemSkin
Gets or sets the mode that describes the usage of system skinning (if available).
Public propertyVisibility
Gets or sets a value indicating element visibility.
Public propertyVsbVisible
Determines whether the element may be added associated with metadata in the Visual Style Builder.
Public propertyZIndex
Gets of sets the order of painting an element compared to its sibling elements. Greater ZIndex means an element would be painted on top of other elements amongst its siblings. ZIndex changes the order of the elements in the list returned by GetChildren(ChildrenListOptions).
Top
Methods
  NameDescription
Public methodAddBehavior
Adds a property change behavior to the list of behaviors of the element.
Public methodAddRangeBehavior
Protected methodAddStylePropertySetting (Overrides RadObjectAddStylePropertySetting(IPropertySetting).)
Public methodArrange
Protected methodArrangeCore
Protected methodArrangeOverride
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Public methodBindProperty
Binds the specified property to a property of the provided binding source object.
(Inherited from RadObject.)
Public methodBringToFront
Sends this element at the end of its parent's z-ordered collection.
Protected methodCalcLayoutOffset
Protected methodCallCreateChildElements
Creates the child elements and sets their locally applied values as Default
Public methodCallDoClick
This method is used internally!
Public methodCallDoDoubleClick
This method is used internally!
Public methodCallDoMouseDown
This method is used internally!
Public methodCallDoMouseEnter
This method is used internally!
Public methodCallDoMouseHover
This method is used internally!
Public methodCallDoMouseLeave
This method is used internally!
Public methodCallDoMouseMove
This method is used internally!
Public methodCallDoMouseUp
This method is used internally!
Public methodCallDoMouseWheel
This method is used internally!
Public methodCallOnLoad
This method is used internally.
Public methodCallOnRenderSizeChanged
This method is used internally.
Protected methodCanExecuteLayoutOperation
Determines whether the element can perform layout operation.
Protected methodCanRaisePropertyChangeNotifications (Overrides RadObjectCanRaisePropertyChangeNotifications(RadPropertyValue).)
Public methodChangeCollection
Performs an update after a change in the Children collection.
Public methodClearBehaviors
Protected methodClearPropertyStore
Removes all references to external property modifiers such as property bindings, style settings and animations.
(Inherited from RadObject.)
Protected methodCoerceValue
Allows inheritors to force a coersion of the current calculated value for the given property.
(Inherited from RadObject.)
Protected methodComposeShouldPaintSystemSkin
Composes a value which determines whether the element should use system skins when painting. This method will traverse the element and control tree and will end with the global UseSystemSkin property.
Protected methodCreateChildElements
Called by the element when constructed. Allows inheritors to build the element tree.
Public methodDispose
Releases all resources associated with this object.
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Performs the actual Dispose logic.
(Inherited from DisposableObject.)
Public methodDisposeChildren
Protected methodDisposeManagedResources (Overrides RadObjectDisposeManagedResources.)
Protected methodDisposeUnmanagedResources
Releases any UNMANAGED resources used by this object. NOTE: If you declare some unmanaged resources in your class, you should override its finalizer and put disposing logic there also.
(Inherited from DisposableObject.)
Protected methodDoClick
Protected methodDoDoubleClick
Protected methodDoMouseDown
Protected methodDoMouseEnter
Protected methodDoMouseHover
Protected methodDoMouseLeave
Protected methodDoMouseMove
Protected methodDoMouseUp
Protected methodDoMouseWheel
Public methodDpiScaleChanged
Public methodEnumDescendants(TreeTraversalMode)
Provides flexible routine for traversing all descendants of this instance that match the provided predicate.
Public methodEnumDescendants(Filter, TreeTraversalMode)
Provides flexible routine for traversing all descendants of this instance that match the provided filter.
Public methodEnumDescendants(PredicateRadElement, TreeTraversalMode)
Provides flexible routine for traversing all descendants of this instance that match the provided predicate.
Public methodFindAncestorT
Searches up the parent chain and returns the first parent of type T.
Public methodFindAncestorByThemeEffectiveType
Searches up the parent chain and returns the first parent with the provided ThemeEffectiveType.
Public methodFindDescendant(Type)
Searches down the subtree of elements, using breadth-first approach, and returns the first descendant of the specified Type.
Public methodFindDescendant(PredicateRadElement)
Searches down the subtree of elements, using breadth-first approach, and returns the first descendant of type T.
Public methodFindDescendantT
Searches down the subtree of elements, using breadth-first approach, and returns the first descendant of type T.
Public methodFocus
Protected methodFocus(Boolean)
Public methodGetAncestors(Filter)
Provides a routine which enumerates all ancestors up in the parent chain of this element, which match the provided Filter.
Public methodGetAncestors(PredicateRadElement)
Provides a routine which enumerates all ancestors up in the parent chain of this element, which match the provided predicate.
Protected methodGetArrangeRect
Gets the arrange rectangle, valid for this element.
Public methodGetAsBitmap(Brush, Single, SizeF)
Public methodGetAsBitmap(IGraphics, Brush, Single, SizeF)
Public methodGetAsBitmapEx(Brush, Single, SizeF)
Public methodGetAsBitmapEx(Color, Single, SizeF)
Public methodGetAsTransformedBitmap(Brush, Single, SizeF)
Public methodGetAsTransformedBitmap(Rectangle, Brush, Single, SizeF)
Public methodGetAsTransformedBitmap(IGraphics, Brush, Single, SizeF)
Public methodGetBehaviors
Protected methodGetBitState
Gets the current bit state for the object, defined by the provided key.
(Inherited from DisposableObject.)
Protected methodGetBorderThickness
Public methodGetBoundingRectangle(Rectangle)
Public methodGetBoundingRectangle(Size)
Gets the rectangle which surrounds the rotated element (if having AngleTransform property set).
Public methodGetChildAt
Method used by control Code Dom serializer to access items in the collection
Public methodGetChildren
Allows enumerating of this element's children, using the specified options.
Public methodGetChildrenByBaseType
Public methodGetChildrenByType
Gets a list of child elements using the type to filter the results.
Protected methodGetClientRectangle
Protected methodGetClipRect
Protected methodGetCurrentShape
Protected methodGetDefaultValue
Allows inheritors to provide custom default value.
(Inherited from RadObject.)
Public methodGetDescendants(Filter, TreeTraversalMode)
Gets a list with all the descendants that match the provided filter.
Public methodGetDescendants(PredicateRadElement, TreeTraversalMode)
Gets a list with all the descendants that match the provided filter.
Public methodGetDesiredSize
Protected methodGetFocusRect
Protected methodGetInheritedValue
Searches up in the chain of InheritanceParents for a value for the specified property.
(Inherited from RadObject.)
Public methodGetInvalidateBounds
Returns the bounds of the area that should be invalidated when the element is invalidated.
Protected methodGetPaintRectangle
Protected methodGetPatchedRect
Public methodGetPropertyValue
Gets the RadPropertyValue structure that holds information about the specified property's effective value for this instance. May be null if no effective value is recorded.
(Inherited from RadObject.)
Public methodGetRegisteredRadProperty
Gets the registered property with the specified name.
(Inherited from RadObject.)
Public methodGetRegisterRoutedEvent(String)
Public methodStatic memberGetRegisterRoutedEvent(String, String)
Public methodStatic memberGetRegisterRoutedEvent(String, Type)
Public methodGetScrollingOffset
Gets the offset that is caused by scrolling. The difference between this method and PositionOffset property is that GetScrollingOffset() takes into account RightToLeft.
Protected methodGetShadowRect
Protected methodGetStylableChildren
Protected methodGetStylableChildrenHierarchy
Public methodGetStylablePropertiesFilter
Gets the IFilter instance that may be used to filter the properties, treated as Stylable for this element.
Protected methodGetSystemSkinPaintBounds
Gets the rectangle where skin background should be painted. Defaults to BoundingRectangle.
Public methodGetThemeEffectiveType
Public methodGetValue (Overrides RadObjectGetValue(RadProperty).)
Public methodGetValueSource
Gets the source of the current value for the specified property.
(Inherited from RadObject.)
Public methodGetVistaVisualStyle
Gets the VisualStyleElement instance that describes the skin appearance for the element when the current OS is Windows Vista.
Public methodGetXPVisualStyle
Gets the VisualStyleElement instance that describes the skin appearance for the element when the current OS is Windows XP.
Public methodHasInvisibleAncestor
Determines whether there is an ancestor in this element tree that is not visible.
Public methodHitTest
Protected methodInitializeFields
Initializes member fields to their default values. This method is called prior the CreateChildItems one and allows for initialization of members on which child elements depend.
Protected methodInitializeSystemSkinPaint
Performs initialization when the element is first-time painted using system skin.
Public methodInvalidate
Public methodInvalidate(Boolean)
Public methodInvalidateArrange
Public methodInvalidateArrange(Boolean)
Public methodInvalidateMeasure
Public methodInvalidateMeasure(Boolean)
Public methodInvalidateTransformations
This method is used internally.
Public methodIsAncestorOf
Gets a boolean value that determines whether a given element resides in the element hierarchy of this element.
Public methodIsChildOf
Get a value indicating whether the element is a direct or indirect child of specified parent element
Public methodIsEventInProcess
Protected methodIsInGetAsBitmap
Protected methodIsInputKey
Public methodIsInValidState
Determines whether the element is currently in valid state. That is having a valid RadElementTree reference and being in either Constructed or Loaded state.
Protected methodIsInVisibleClipBounds
Protected methodIsPropertyCancelable (Overrides RadObjectIsPropertyCancelable(RadPropertyMetadata).)
Protected methodKillFocus
Protected methodLoadCore
Allows inheritors to provide custom load logic.
Public methodLocationToControl
Protected methodLockBounds
Public methodMapStyleProperty
Maps a style property to another property. This method is used to map corresponding properties of LightVisualElement instances and BasePrimitive instances.
Public methodMeasure
Protected methodMeasureChildren
Protected methodMeasureCore
Protected methodMeasureOverride
Measures the space required by the RadElement Used by the layout system.
Protected methodMouseEventArgsFromControl
Protected methodNotifyChildren
Protected methodNotifyInvalidate
Protected methodOnBeginDispose
A callback used by the owning RadControl to notify the element for the beginning of a disposing process.
Protected methodOnBitStateChanged
Notifies the object for a change in its bit state.
(Inherited from DisposableObject.)
Protected methodOnBoundsChanged
Protected methodOnBubbleEvent
Protected methodOnChildDesiredSizeChanged
Protected methodOnChildrenChanged
Protected methodOnClick
Raises the Click event.
Protected methodOnCLREventsRise
Protected methodOnDisplayPropertyChanged
Protected methodOnDoubleClick
Raises the DoubleClick event.
Protected methodOnElementTreeChanged
The element gets notified for a change in its current ElementTree member.
Protected methodOnEnabledChanged
Protected methodOnLayoutPropertyChanged
Protected methodOnLoad
A callback used by the owning RadControl to notify the element for a first-time screen visualization.
Protected methodOnLoaded
Called when the element has been successfully loaded. That includes loading of all its children as well.
Protected methodOnLocationChanged
Protected methodOnLostMouseCapture
Protected methodOnMouseDown
Protected methodOnMouseEnter
Protected methodOnMouseHover
Protected methodOnMouseLeave
Protected methodOnMouseMove
Protected methodOnMouseUp
Protected methodOnMouseWheel
Raises the MouseWheel event.
Protected methodOnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the standard .NET PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnNotifyPropertyChanged(String)
Raises the PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnParentChanged
Notifies for a change in the Parent value.
Protected methodOnParentEnabledChanged
Protected methodOnParentPropertyChanged
The object gets notified for a parent property change.
Protected methodOnPropertyChanged (Overrides RadObjectOnPropertyChanged(RadPropertyChangedEventArgs).)
Protected methodOnPropertyChanging
Raises the RadPropertyChanging event.
(Inherited from RadObject.)
Protected methodOnRenderSizeChanged
Protected methodOnStyleChanged
Protected methodOnTransformationInvalidated
This method is executed when a property which affects the absolute position of the element has been changed.
Protected methodOnTunnelEvent
Protected methodOnUnload
Unloads the element if it was previously loaded on an element tree.
Protected methodOnUnloaded
Notifies that the element has been successfully unloaded from an element tree. Allows inheritors to provide custom logic at this stage.
Protected methodOnUseSystemSkinChanged
The element gets notified for a change in the UseSystemSkin property. This method will recursively notify all descendants for the change.
Public methodPaint
This method is used internally.
Protected methodPaintChild
Protected methodPaintChildren
Protected methodPaintElement
Protected methodPaintElementSkin
Provides a routine to paint element's content when system skin appearance is desired.
Protected methodPaintFocusCues
Protected methodPaintOverride
Virtual layer between PaintChildren() and Paint(). Can be overridden to fully customize element hierarchy paint. Used for painting disabled items.
Protected methodPaintShadow
Protected methodPaintShadowCore
Public methodPerformClick
Protected methodPerformDispose (Overrides DisposableObjectPerformDispose(Boolean).)
Protected methodPerformLayoutTransformation
Protected methodPerformPaintTransformation
Public methodPointFromControl
Public methodPointFromScreen
Public methodPointToControl
Public methodPointToScreen
Retrieves a point in screen coordinates taking as a parameter a point which is in element coordinates (this means that the top left corner of the element is with coordinates 0, 0).
Protected methodPostPaintChildren
Protected methodPostPaintElement
Protected methodPrePaintElement
Protected methodProcessBehaviors
Public methodRaiseBubbleEvent
Protected methodRaiseClick
Protected methodRaiseDoubleClick
Protected methodRaiseMouseWheel
Public methodRaiseRoutedEvent
Public methodRaiseTunnelEvent
Public methodRectangleToScreen
Retrieves a rectangle in screen coordinates taking as a parameter a rectangle which is in element coordinates (this means that the top left corner of the element is with coordinates 0, 0).
Public methodStatic memberRegisterRoutedEvent
Public methodRemoveBehavior
Public methodRemoveBehaviors
Public methodRemoveRangeBehaviors
Public methodRemoveRangeRoutedEventBehaviors
Public methodRemoveStylePropertySetting(IPropertySetting)
Called when element style condition changes. This method is used internally.
(Inherited from RadObject.)
Public methodRemoveStylePropertySetting(RadProperty)
Called when element style condition changes. This method is used internally.
(Inherited from RadObject.)
Public methodResetLayout
Resets all layout related fields and puts the element in its initial layout state.
Protected methodResetLayoutCore
Public methodResetStyleSettings(Boolean)
Resets the Style modifier of each registered property.
Public methodResetStyleSettings(Boolean, RadProperty)
Resets the Style modifier for the specified property. Will reset all properties if null is passed.
Protected methodResetStyleVersion
Public methodResetUseCompatibleTextRendering
Public methodResetValue(RadProperty)
Resets the current value of the specified property. This method will remove any effective value modifier (such as style or animation setting) for the specified property.
(Inherited from RadObject.)
Public methodResetValue(RadProperty, ValueResetFlags)
Resets the current value of the specified property using the provided flags.
(Inherited from RadObject.)
Protected methodResetValueCore
Resets the specified property value, using the provided reset flags.
(Inherited from RadObject.)
Public methodResumeLayout(Boolean)
Public methodResumeLayout(Boolean, Boolean)
Public methodResumePropertyNotifications
Resumes property notifications after a previous SuspendPropertyNotifications call.
(Inherited from RadObject.)
Public methodResumeReferenceUpdate
Resumes previously suspended UpdateReference method.
Public methodResumeThemeRefresh
This method is used internally.
Public methodSendToBack
Sends this element to the beginning of its parent's z-ordered collection.
Public methodSetAllLocalValuesAsDefault
This method is used internally.
Protected methodSetBitState
Applies the specified boolean value to the BitVector of the object.
(Inherited from DisposableObject.)
Public methodSetBounds(Rectangle)
Sets the bounds of the element to the specified rectangle (locating and size).
Public methodSetBounds(Int32, Int32, Int32, Int32)
Sets the bounds of the element to the specified rectangle (X, Y, width and height).
Protected methodSetBoundsCore
Protected methodSetClipping
Public methodSetDefaultValueOverride
Applies the provided value as an override of the Default value provided by the specified property's metadata.
(Inherited from RadObject.)
Public methodSetElementFocused
This method sets the focused state of an element. It is used internally.
Public methodSetFocus
This method is used internally!
Protected methodSetFocusPropertySafe
Public methodSetIsDesignMode
This method is used internally!
Protected methodSetParent
Applies the specified RadElement instance as parent of the current instance.
Protected methodSetThemeApplied
Used internally to support RadControl infrastructure. This method is not intended for use directly from your code.
Public methodSetValue
Applies the provided value as Local for the specified property.
(Inherited from RadObject.)
Public methodSetValueAtDesignTime
Applies the specified value as Local for the desired property and raises the flag IsLocalValueSetAtDesignTime for that property. All design-time direct property modifications (e.g. item.Text = "Item1") should be done through this method for the property to be properly serialized. If a property is modified through a property grid, the custom property descriptor will automatically apply this logic. This method is used internally.
(Inherited from RadObject.)
Protected methodSetValueCore (Overrides RadObjectSetValueCore(RadPropertyValue, Object, Object, ValueSource).)
Protected methodShouldArrangeChild
Protected methodShouldMeasureChild
Protected methodShouldPaintChild
Protected methodShouldPaintSystemSkin
Determines whether we should paint system skin.
Public methodShouldSerializeProperty
Determines whether the property defined by the provided property descriptor should be serialized.
(Inherited from RadObject.)
Public methodShouldSerializeUseCompatibleTextRendering
Public methodSuspendLayout
Temporary suspends layout operations upon this element.
Public methodSuspendLayout(Boolean)
Temporary suspends layout operations upon this element.
Public methodSuspendPropertyNotifications
Allows PropertyChanging and PropertyChanged notifications to be temporary suspended.
(Inherited from RadObject.)
Public methodSuspendReferenceUpdate
Temporary suspends UpdateReferences method. Useful when modifying the element tree without changing the actual element's references.
Public methodSuspendThemeRefresh
This method is used internally.
Public methodToString (Overrides ObjectToString.)
Protected methodUnapplyStyle
Public methodUnbindProperty
Removes the binding for the specified property.
(Inherited from RadObject.)
Protected methodUnitializeSystemSkinPaint
Protected methodUnloadCore
Executes the core unload logic. Allows inheritors to perform additional action while the element is unloading itself.
Protected methodUnlockBounds
Protected methodUpdateContainsFocus
Updates the ContainsFocus property. The notification may be received from a child whose IsFocused property has changed.
Public methodUpdateContainsMouse
Updates the ContainsMouse property. The notification may be received from a child whose IsMouseOver property has changed.
Public methodUpdateLayout
Protected methodUpdateReferences
Updates the local references using the provided element tree.
Public methodUpdateValue
Forces re-evaluation of the current value for the specified property.
(Inherited from RadObject.)
Protected methodUpdateValueCore
Performs the core value update logic.
(Inherited from RadObject.)
Top
Events
  NameDescription
Public eventChildrenChanged
Occurs when the children collection of the element is changed.
Public eventClick
Occurs when the element is clicked.
Public eventDisposed (Inherited from DisposableObject.)
Public eventDisposing (Inherited from DisposableObject.)
Public eventDoubleClick
Occurs when the element is double-clicked.
Public eventElementPainted
This event occurs after printing the element. It is used internally.
Public eventEnabledChanged
Occurs when the mouse pointer leaves the element.
Public eventLayoutUpdated
Public eventLostMouseCapture
Public eventMouseDown
Occurs when the mouse pointer is over the element and a mouse button is pressed.
Public eventMouseEnter
Occurs when the mouse pointer enters the element.
Public eventMouseHover
Occurs when the mouse pointer rests on the element.
Public eventMouseLeave
Public eventMouseMove
Occurs when the mouse pointer is moved over the element.
Public eventMouseUp
Occurs when the mouse pointer is over the element and a mouse button is released.
Public eventMouseWheel
Occurs when the RadItem has focus and the user scrolls up or down the mouse wheel
Public eventPropertyChanged
Occurs when a property of an object changes. Note: if a property which is not a RadProperty changes, the developer is responsible for firing this event by using the INotifyPropertyChanged API.
(Inherited from RadObject.)
Public eventRadPropertyChanged
Occurs when a property of a RadObject changes.
(Inherited from RadObject.)
Public eventRadPropertyChanging
Occurs prior to property of a RadObject changes.
(Inherited from RadObject.)
Top
Fields
  NameDescription
Public fieldStatic memberAlignmentProperty
Public fieldStatic memberAngleTransformProperty
Public fieldStatic memberAutoSizeModeProperty
Public fieldStatic memberAutoSizeProperty
Public fieldStatic memberBackgroundShapeProperty
Public fieldStatic memberBorderThicknessProperty
Public fieldStatic memberBoundsChangedEvent
Tunnels when bounds changed in order to notify any children that should take special actions in this case - like RadHostItem.
Public fieldStatic memberBoundsProperty
Public fieldStatic memberCanFocusProperty
Public fieldStatic memberChildElementAddedEvent
Routed event key for ChildElementAdded event. Bubbles when element is added
Public fieldStatic memberClassProperty
Public fieldStatic memberClickModeProperty
Public fieldStatic memberClipDrawingProperty
Public fieldStatic memberContainsFocusProperty
Public fieldStatic memberContainsMouseProperty
Public fieldStatic memberControlChangedEvent
Tunnels when the winforms control has been changed.
Public fieldStatic memberEnabledChangedEvent
Tunnels when the Enabled property changes in order to notify any children that should take special actions.
Public fieldStatic memberEnabledProperty
Public fieldStatic memberFitToSizeModeProperty
Public fieldStatic memberGetPropertyValueCommand
Public fieldStatic memberIsEditedInSpyProperty
Used by RadControlSpy to display certain hidden properties in the Property Grid.
Public fieldStatic memberIsFocusedProperty
Public fieldStatic memberIsItemFocusedProperty
Public fieldStatic memberIsMouseDownProperty
Public fieldStatic memberIsMouseOverElementProperty
Public fieldStatic memberIsMouseOverProperty
Public fieldStatic memberMarginProperty
Public fieldStatic memberMaxSizeProperty
Get or sets the maximum size to apply on an element when layout is calculated.
Public fieldStatic memberMinSizeProperty
Public fieldStatic memberMouseClickedEvent
Tunnels and bubbles on MouseClick on current element
Public fieldStatic memberMouseDoubleClickedEvent
Tunnels and bubbles on MouseDoubleClick on current element
Public fieldStatic memberMouseDownEvent
Tunnels and bubbles on MouseDown on current element
Public fieldStatic memberMouseUpEvent
Tunnels and bubbles on MouseUp on current element
Public fieldStatic memberMouseWheelEvent
Tunnels and bubbles on MouseWheel on current element
Public fieldStatic memberNameProperty
Public fieldStatic memberPaddingProperty
Protected fieldpaintSystemSkin
Public fieldStatic memberParentChangedEvent
Routed event key for ParentChanged event. Tunnels when element parent changes
Public fieldStatic memberPositionOffsetProperty
Protected fieldStatic memberRadElementLastStateKey
This constant is used internally.
Public fieldStatic memberRightToLeftProperty
Public fieldStatic memberScaleTransformProperty
Public fieldStatic memberSetPropertyValueCommand
Public fieldStatic memberShapeProperty
Public fieldStatic memberShouldPaintProperty
Public fieldStatic memberStretchHorizontallyProperty
Public fieldStatic memberStretchVerticallyProperty
Public fieldStatic memberStyleProperty
Protected fieldstyleVersion
Public fieldStatic memberTagProperty
Public fieldStatic memberTraceInvalidation
This field is used internally.
Public fieldStatic memberUseCompatibleTextRenderingProperty
Public fieldStatic memberVisibilityChangingEvent
Tunnels and bubbles when changes the current element
Public fieldStatic memberVisibilityProperty
Public fieldStatic memberZIndexProperty
Property key of the ZIndex Property.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodIsLocalValueSet
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Top
Remarks
Elements nesting also represents the visual nesting. Elements are painted starting from the root to the leaves of the tree. the leaves are most often primitive elements like, text, fills, borders and so on. Elements that are descendants of LayoutPanel are responsible for arranging their children in the available space and/or for notifying the parent that the layout space is not enough to expand. Layout behavior of each element can be adjusted using the properties: AutoSize, Size, AutoSizeMode (old layouts), and StretchHorizontally and StretchVertically for the new layouts. RadElement is the base class of all elements that need to take advantage of TPF features, like property inheritance, layouts, styling with the Visual Style Builder application. Each property change of a RadElement or of its inheritance parent would result in calling the method OnPropertyChange, which can be overridden in order to customize the response to changes of any RadPoperty.
See Also
Inheritance Hierarchy
SystemObject
  Telerik.WinControlsDisposableObject
    Telerik.WinControlsRadObject
      Telerik.WinControlsRadElement
        Telerik.WinControls.LayoutsLayoutPanel
        Telerik.WinControls.UIAlertWindowCaptionElement
        Telerik.WinControls.UIPivotRowElement
        Telerik.WinControls.UIRadApplicationMenuContentElement
        Telerik.WinControls.UIRadApplicationMenuDropDownElement
        Telerik.WinControls.UI.RadColorPickerTransparentColorBoxElement
        Telerik.WinControls.UIRadDropDownMenuElement
        Telerik.WinControls.UIRadGripElement
        Telerik.WinControls.UIRadPageViewContentElement
        Telerik.WinControls.UITextBoxControlCaret
        Telerik.WinControlsVisualElement