Class ChartSettingsObjectBase<T>.ProxyDescriptor
- Namespace
- StockSharp.Xaml.Charting.Ultrachart
- Assembly
- StockSharp.Xaml.Charting.dll
Specialization of PropertyDescriptor class for chart element properties.
protected abstract class ChartSettingsObjectBase<T>.ProxyDescriptor : NamedPropertyDescriptor
- Inheritance
-
ChartSettingsObjectBase<T>.ProxyDescriptor
- Inherited Members
- Extension Methods
Constructors
ProxyDescriptor(string, object, T, IEnumerable<Attribute>, Func<T, PropertyDescriptor, bool>)
Create instance.
protected ProxyDescriptor(string name, object owner, T origObj, IEnumerable<Attribute> attributes, Func<T, PropertyDescriptor, bool> selector = null)
Parameters
namestringownerobjectorigObjTattributesIEnumerable<Attribute>selectorFunc<T, PropertyDescriptor, bool>
Properties
Attributes
public override AttributeCollection Attributes { get; }
Property Value
ComponentType
public override Type ComponentType { get; }
Property Value
IsReadOnly
public override bool IsReadOnly { get; }
Property Value
Owner
Parent object.
public object Owner { get; }
Property Value
PropertyType
public override Type PropertyType { get; }
Property Value
Methods
CanResetValue(object)
public override bool CanResetValue(object c)
Parameters
cobject
Returns
CreateWrapper(T, Func<T, PropertyDescriptor, bool>)
Create chart settings object wrapper for an object.
protected abstract ChartSettingsObjectBase<T> CreateWrapper(T obj, Func<T, PropertyDescriptor, bool> selector = null)
Parameters
objTselectorFunc<T, PropertyDescriptor, bool>
Returns
GetValue(object)
public override object GetValue(object c)
Parameters
cobject
Returns
ResetValue(object)
public override void ResetValue(object c)
Parameters
cobject
SetValue(object, object)
public override void SetValue(object c, object value)
Parameters
ShouldSerializeValue(object)
public override bool ShouldSerializeValue(object c)
Parameters
cobject