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 : PropertyDescriptor
- 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
name
stringowner
objectorigObj
Tattributes
IEnumerable<Attribute>selector
Func<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
c
object
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
obj
Tselector
Func<T, PropertyDescriptor, bool>
Returns
GetValue(object)
public override object GetValue(object c)
Parameters
c
object
Returns
ResetValue(object)
public override void ResetValue(object c)
Parameters
c
object
SetValue(object, object)
public override void SetValue(object c, object value)
Parameters
ShouldSerializeValue(object)
public override bool ShouldSerializeValue(object c)
Parameters
c
object