Version

DataContext Class Members

The following tables list the members exposed by DataContext.

Public Constructors
 NameDescription
Public ConstructorDataContext ConstructorInitializes a new DataContext.  
Public Properties
 NameDescription
Public PropertyActualItemBrushGets the actual resolved brush in use for the item that is in context.  
Public PropertyItemGets the item that is in context.  
Public PropertyItemBrushGets the potential brush in usage for the item in context.  
Public PropertyItemLabelGets the label in use for the item in context, if available.  
Public PropertyLegendLabelGets the legend label to use for the item in context, if available.  
Public PropertyOpacityGets or sets the opacity of the item  
Public PropertyOutlineGets the outline in use for the item in context.  
Public PropertySeriesGets the series that is in context.  
Public PropertyThicknessGets the thickness of the item in context.  
Public Methods
 NameDescription
Public MethodResetResets all the properties to their default values  
Public MethodResetActualItemBrushResets the ActualItemBrush property to its default value.  
Public MethodResetItemResets the Item property to its default value.  
Public MethodResetItemBrushResets the ItemBrush property to its default value.  
Public MethodResetItemLabelResets the ItemLabel property to its default value.  
Public MethodResetLegendLabelResets the LegendLabel property to its default value.  
Public MethodResetOpacityResets the Opacity property to its default value.  
Public MethodResetOutlineResets the Outline property to its default value.  
Public MethodResetSeriesResets the Series property to its default value.  
Public MethodResetThicknessResets the Thickness property to its default value.  
Protected Methods
 NameDescription
Protected MethodOnPropertyChangedUsed to invoke the PropertyChanged event.  
Protected MethodShouldSerializeActualItemBrushIndicates if the ActualItemBrush property needs to be serialized.  
Protected MethodShouldSerializeItemIndicates if the Item property needs to be serialized.  
Protected MethodShouldSerializeItemBrushIndicates if the ItemBrush property needs to be serialized.  
Protected MethodShouldSerializeItemLabelIndicates if the ItemLabel property needs to be serialized.  
Protected MethodShouldSerializeLegendLabelIndicates if the LegendLabel property needs to be serialized.  
Protected MethodShouldSerializeOpacityIndicates if the Opacity property needs to be serialized.  
Protected MethodShouldSerializeOutlineIndicates if the Outline property needs to be serialized.  
Protected MethodShouldSerializeSeriesIndicates if the Series property needs to be serialized.  
Protected MethodShouldSerializeThicknessIndicates if the Thickness property needs to be serialized.  
Public Events
 NameDescription
Public EventPropertyChangedIndicates that a property has changed.  
See Also