.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > SeriesCollection Class > SelectiveElementDefaults Method : SelectiveElementDefaults(DateTime,DateTime,ElementValue,Element,Boolean) Method
Low value of the DateTime range.
High value of the DateTime range.
A DateTime element value property.
An Element object whose properties will be applied to elements in this series collection that meet the comparison criteria.
Specifies whether to apply the provided element's properties to elements inside or outside the DateTime range.
SelectiveElementDefaults(DateTime,DateTime,ElementValue,Element,Boolean) Method
Applies property settings of the specified default element to elements in this series collection that are either inside or outside the specified DateTime range and corresponding DateTime element property.
Syntax
'Declaration
 
Public Overloads Sub SelectiveElementDefaults( _
   ByVal Low As Date, _
   ByVal High As Date, _
   ByVal ev As ElementValue, _
   ByVal defaultElement As Element, _
   ByVal inclusive As Boolean _
) 
'Usage
 
Dim instance As SeriesCollection
Dim Low As Date
Dim High As Date
Dim ev As ElementValue
Dim defaultElement As Element
Dim inclusive As Boolean
 
instance.SelectiveElementDefaults(Low, High, ev, defaultElement, inclusive)
public void SelectiveElementDefaults( 
   DateTime Low,
   DateTime High,
   ElementValue ev,
   Element defaultElement,
   bool inclusive
)

Parameters

Low
Low value of the DateTime range.
High
High value of the DateTime range.
ev
A DateTime element value property.
defaultElement
An Element object whose properties will be applied to elements in this series collection that meet the comparison criteria.
inclusive
Specifies whether to apply the provided element's properties to elements inside or outside the DateTime range.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also