.netCHARTING v10.3 Documentation


dotnetCHARTING Namespace > Series Class > SelectiveElementDefaults Method : SelectiveElementDefaults(CalendarPattern,ElementValue,Element,Boolean) Method
CalendarPattern used 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.
Specifies whether to apply the provided element's properties to elements inside or outside the calendar pattern.
SelectiveElementDefaults(CalendarPattern,ElementValue,Element,Boolean) Method
Applies property settings of the specified default element to elements in this series that are either outside or inside the 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, _
   ByVal inclusive As Boolean _
) 
'Usage
 
Dim instance As Series
Dim cp As CalendarPattern
Dim ev As ElementValue
Dim defaultElement As Element
Dim inclusive As Boolean
 
instance.SelectiveElementDefaults(cp, ev, defaultElement, inclusive)
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 that meet the comparison criteria.
inclusive
Specifies whether to apply the provided element's properties to elements inside or outside the calendar pattern.
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