dotnetCHARTING Send comments on this topic.
SelectiveElementDefaults(CalendarPattern,ElementValue,Element) Method
See Also 
dotnetCHARTING Namespace > SeriesCollection Class > SelectiveElementDefaults Method : SelectiveElementDefaults(CalendarPattern,ElementValue,Element) Method


cp
CalendarPatternused to determine whether the default elements properties should be applied.
ev
DateTime Element value property to compare against the CalendarPattern.
defaultElement
An Element object whose properties will be applied to elements in this series collection that meet the comparison criteria.
Applies property settings of the specified default element to elements in this series collection that are outside a specified CalendarPattern and corresponding DateTime element property.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SelectiveElementDefaults( _
   ByVal cp As CalendarPattern, _
   ByVal ev As ElementValue, _
   ByVal defaultElement As Element _
) 
Visual Basic (Usage)Copy Code
Dim instance As SeriesCollection
Dim cp As CalendarPattern
Dim ev As ElementValue
Dim defaultElement As Element
 
instance.SelectiveElementDefaults(cp, ev, defaultElement)
C# 
public void SelectiveElementDefaults( 
   CalendarPattern cp,
   ElementValue ev,
   Element defaultElement
)

Parameters

cp
CalendarPatternused to determine whether the default elements properties should be applied.
ev
DateTime Element value property to compare against the CalendarPattern.
defaultElement
An Element object whose properties will be applied to elements in this series collection that meet the comparison criteria.

See Also

© 2018 All Rights Reserved.