Click or drag to resize
RadObject Class
Base for all TPF classes. Implements WPF-like property system with different value sources. Provides public interface for getting, setting value or re-setting property value.
Inheritance Hierarchy
SystemObject
  Telerik.WinControlsDisposableObject
    Telerik.WinControlsRadObject
      More...

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2017.3.1017.40 (2017.3.1017.40)
Syntax
public class RadObject : DisposableObject, INotifyPropertyChanged, 
	ICustomTypeDescriptor

The RadObject type exposes the following members.

Constructors
  NameDescription
Public methodRadObject
Initializes a new instance of the RadObject class
Top
Properties
  NameDescription
Public propertyBindingContext
Gets or sets the BindingContext for the object.
Protected propertyBitState
Gets the RadBitVector64 structure that holds all the bit states of the object.
(Inherited from DisposableObject.)
Protected propertyEvents
Provides a simple list of delegates.
(Inherited from DisposableObject.)
Public propertyIsDesignMode
Determines whether the element is in design mode.
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 propertyPropertyFilter
Gets or sets a Filter instance, used to filter the ICustomPropertyDescriptor.GetProperties collection.
Public propertyPropertyValues
Gets a collection containing property values.
Public propertyRadObjectType
Gets the RadObjectType which is associated with this system type.
Top
Methods
  NameDescription
Protected methodAddStylePropertySetting
Registers a style setting for this instance.
Public methodBindProperty
Binds the specified property to a property of the provided binding source object.
Protected methodCanRaisePropertyChangeNotifications
Determines whether the object can raise PropertyChanging and PropertyChanged notifications. Current implementation checks whether the object is disposing or is already disposed of.
Protected methodClearPropertyStore
Removes all references to external property modifiers such as property bindings, style settings and animations.
Protected methodCoerceValue
Allows inheritors to force a coersion of the current calculated value for the given property.
Public methodDispose
Releases all resources associated with this object.
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Performs the actual Dispose logic.
(Inherited from DisposableObject.)
Protected methodDisposeManagedResources
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 methodGetBitState
Gets the current bit state for the object, defined by the provided key.
(Inherited from DisposableObject.)
Protected methodGetDefaultValue
Allows inheritors to provide custom default value.
Protected methodGetInheritedValue
Searches up in the chain of InheritanceParents for a value for the specified property.
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.
Public methodGetRegisteredRadProperty
Gets the registered property with the specified name.
Public methodGetValue
Retrieves the current value for the specified property.
Public methodGetValueSource
Gets the source of the current value for the specified property.
Protected methodIsPropertyCancelable
Determines whether the specified property may be canceled.
Protected methodOnBitStateChanged
Notifies the object for a change in its bit state.
(Inherited from DisposableObject.)
Protected methodOnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the standard .NET PropertyChanged event.
Protected methodOnNotifyPropertyChanged(String)
Raises the PropertyChanged event.
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
Protected methodOnPropertyChanging
Raises the RadPropertyChanging event.
Protected methodPerformDispose
Performs the core resources release logic.
(Inherited from DisposableObject.)
Public methodRemoveStylePropertySetting(IPropertySetting)
Called when element style condition changes. This method is used internally.
Public methodRemoveStylePropertySetting(RadProperty)
Called when element style condition changes. This method is used internally.
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.
Public methodResetValue(RadProperty, ValueResetFlags)
Resets the current value of the specified property using the provided flags.
Protected methodResetValueCore
Resets the specified property value, using the provided reset flags.
Public methodResumePropertyNotifications
Resumes property notifications after a previous SuspendPropertyNotifications call.
Protected methodSetBitState
Applies the specified boolean value to the BitVector of the object.
(Inherited from DisposableObject.)
Public methodSetDefaultValueOverride
Applies the provided value as an override of the Default value provided by the specified property's metadata.
Public methodSetValue
Applies the provided value as Local for the specified property.
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.
Protected methodSetValueCore
Performs the core logic of updating property value.
Public methodShouldSerializeProperty
Determines whether the property defined by the provided property descriptor should be serialized.
Public methodSuspendPropertyNotifications
Allows PropertyChanging and PropertyChanged notifications to be temporary suspended.
Public methodUnbindProperty
Removes the binding for the specified property.
Public methodUpdateValue
Forces re-evaluation of the current value for the specified property.
Protected methodUpdateValueCore
Performs the core value update logic.
Top
Events
  NameDescription
Public eventDisposed (Inherited from DisposableObject.)
Public eventDisposing (Inherited from DisposableObject.)
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.
Public eventRadPropertyChanged
Occurs when a property of a RadObject changes.
Public eventRadPropertyChanging
Occurs prior to property of a RadObject changes.
Top
Fields
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
See Also
Inheritance Hierarchy
SystemObject
  Telerik.WinControlsDisposableObject
    Telerik.WinControlsRadObject
      Telerik.WinControls.LayoutsGridLayoutElement
      Telerik.WinControlsRadComponent
      Telerik.WinControlsRadElement
      Telerik.WinControlsRadService
      Telerik.WinControls.RichTextEditor.UIRun
      Telerik.WinControls.Spreadsheet.UIRun
      Telerik.WinControlsThemeSource
      Telerik.WinControls.UIChartStyle
      Telerik.WinControls.UI.DiagramsDiagramBehaviors
      Telerik.WinControls.UIGanttViewDataItem
      Telerik.WinControls.UIGridViewCellStyle
      Telerik.WinControls.UIGridViewColumn
      Telerik.WinControls.UIListViewDetailColumn
      Telerik.WinControls.UIRadListDataItem
      Telerik.WinControls.UIUIChartElement
      Telerik.WinControls.UIVirtualGridViewInfo
      Telerik.WinControls.WindowAnimationAnimationEngine
      Telerik.Windows.Diagrams.CoreGeneralTransform
      Telerik.WinForms.Controls.Spreadsheet.Commands.DescriptorsCommandDescriptor
      Telerik.WinForms.Controls.Spreadsheet.ControlsFilteringPopupViewModel
      Telerik.WinForms.Documents.LayoutLayoutElement
      Telerik.WinForms.Documents.ModelCommentUIProviderBase
      Telerik.WinForms.Documents.ModelDocumentElement
      Telerik.WinForms.Documents.ModelMailMergeDataSource