.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Series Class > SelectiveElementDefaults Method : SelectiveElementDefaults(CalendarPattern,ElementValue,Element) Method
CalendarPatternused to determine whether the default elements properties should be applied.
DateTime Element value property to compare against the CalendarPattern.
An Element object whose properties will be applied to elements in this series that meet the comparison criteria.
SelectiveElementDefaults(CalendarPattern,ElementValue,Element) Method
Applies property settings of the specified default element to elements in this series that are outside a specified CalendarPattern and corresponding DateTime element property.
Syntax
'Declaration
 
Public Overloads Sub SelectiveElementDefaults( _
   ByVal cp As CalendarPattern, _
   ByVal ev As ElementValue, _
   ByVal defaultElement As Element _
) 
'Usage
 
Dim instance As Series
Dim cp As CalendarPattern
Dim ev As ElementValue
Dim defaultElement As Element
 
instance.SelectiveElementDefaults(cp, ev, defaultElement)
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 that meet the comparison criteria.
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