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


cp
CalendarPattern used 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.
inclusive
Specifies whether to apply the provided element's properties to elements inside or outside the calendar pattern.
Applies property settings of the specified default element to elements in this series collection that are either outside or inside the 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, _
   ByVal inclusive As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As SeriesCollection
Dim cp As CalendarPattern
Dim ev As ElementValue
Dim defaultElement As Element
Dim inclusive As Boolean
 
instance.SelectiveElementDefaults(cp, ev, defaultElement, inclusive)
C# 
public void SelectiveElementDefaults( 
   CalendarPattern cp,
   ElementValue ev,
   Element defaultElement,
   bool inclusive
)

Parameters

cp
CalendarPattern used 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.
inclusive
Specifies whether to apply the provided element's properties to elements inside or outside the calendar pattern.

See Also

© 2010 All Rights Reserved.