RadControls for WinForms

The RadElement type exposes the following members.

Methods

  NameDescription
Public methodAddBehavior
Adds a property change behavior to the list of behaviors of the element.
Public methodAddRangeBehavior
Protected methodAddStylePropertySetting (Overrides RadObject..::..AddStylePropertySetting(IPropertySetting).)
Protected methodApplyTheme
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 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 RadObject..::..CanRaisePropertyChangeNotifications(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 RadObject..::..DisposeManagedResources()()()().)
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
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(Predicate<(Of <<'(RadElement>)>>), TreeTraversalMode)
Provides flexible routine for traversing all descendants of this instance that match the provided predicate.
Public methodFindAncestor<(Of <<'(T>)>>)
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(Predicate<(Of <<'(RadElement>)>>))
Searches down the subtree of elements, using breadth-first approach, and returns the first descendant of type T.
Public methodFindDescendant<(Of <<'(T>)>>)()()()()
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(Predicate<(Of <<'(RadElement>)>>))
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.)
Public methodGetBoundingRectangle(Rectangle)
Public methodGetBoundingRectangle(Size)
Gets the rectangle which surronds 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(Predicate<(Of <<'(RadElement>)>>), 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.)
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 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 RadObject..::..GetValue(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 indincating 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 methodIsPropertyCancelable (Overrides RadObject..::..IsPropertyCancelable(RadPropertyMetadata).)
Protected methodKillFocus
Protected methodLoadCore
Allows inheritors to porvide 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 methodOnCLREventsRise
Protected methodOnDisplayPropertyChanged
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 methodOnMouseDown
Protected methodOnMouseEnter
Protected methodOnMouseHover
Protected methodOnMouseLeave
Protected methodOnMouseMove
Protected methodOnMouseUp
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 RadObject..::..OnPropertyChanged(RadPropertyChangedEventArgs).)
Protected methodOnPropertyChanging
Raises the RadPropertyChanging event.
(Inherited from RadObject.)
Protected methodOnRenderSizeChanged
Protected methodOnStyleBuilt
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 overriden to fully customize element hierarchy paint. Used for painting disabled items.
Protected methodPerformDispose (Overrides DisposableObject..::..PerformDispose(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
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.
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 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 RadObject..::..SetValueCore(RadPropertyValue, Object, Object, ValueSource).)
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 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 Object..::..ToString()()()().)
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.)

Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetAttributes
Returns a collection of custom attributes for this instance of a component.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetClassName
Returns the class name of this instance of a component.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetComponentName
Returns the name of this instance of a component.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetConverter
Returns a type converter for this instance of a component.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetDefaultEvent
Returns the default event for this instance of a component.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetDefaultProperty
Returns the default property for this instance of a component.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetEditor
Returns an editor of the specified type for this instance of a component.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetEvents()()()()
Returns the events for this instance of a component.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetEvents(array<Attribute>[]()[][])
Returns the events for this instance of a component using the specified attribute array as a filter.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetProperties()()()()
Returns the properties for this instance of a component.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetProperties(array<Attribute>[]()[][])
Returns the properties for this instance of a component using the attribute array as a filter.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodICustomTypeDescriptor..::..GetPropertyOwner
Returns an object that contains the property described by the specified property descriptor.
(Inherited from RadObject.)
Explicit interface implemetationPrivate methodIStylableNode..::..ApplySettings
Explicit interface implemetationPrivate methodIStylableNode..::..GetThemeEffectiveType

See Also