Version

ComponentRole Class Methods

For a list of all members of this type, see ComponentRole members.

Public Methods
 NameDescription
Public MethodCachePropertyValueOverloaded. Caches the resolved value of the specified property.  
Public MethodClearCachedPropertyValuesClears the cached resolved property values.  
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDispose (Inherited from Infragistics.Shared.DisposableObject)
Public MethodGetCachedPropertyReturns cached resolved value for the property identified by the propertyIndex. The propertyIndex parameter must be less than the value set on the PropertiesCacheCount property of this component role. Also note that whenever the control property value changes, the cache needs to be cleared using the ClearCachedPropertyValues method.  
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodGetPropertyOverloaded. Returns the value for the specified property name.  
Public MethodGetResolutionOrderInfoOverloaded. Returns a structure that provides information about whether the control settings or application style information should take predence based on the ResolutionOrder.  
Public MethodGetRoleOverloaded. Returns the role with the specified name.  
Public MethodHasPropertyIndicates if the component role has a value for the specified custom property.  
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodVerifyNotDisposed (Inherited from Infragistics.Shared.DisposableObject)
Protected Methods
 NameDescription
Protected MethodGetRoleNamesUsed by the associated ComponentRole to determine which UIRole instances should be cached.  
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnDisposeOverridden. Invoked when the component role is disposed.  
Protected MethodOnStyleCachedClearedVirtual method called after OnStyleChanged and after the style cache has been cleared. This is to allow a component to synchronously update itself after the caching has been cleared.  
Protected MethodOnStyleChangedInvoked when the style information for the component has changed.  
See Also