Syntax
| Visual Basic (Declaration) | |
|---|
Public Function New( _
ByVal text As System.String, _
ByVal toolTipText As System.String, _
ByVal image As System.Windows.Media.ImageSource, _
ByVal handler As System.Action(Of PivotView), _
ByVal isEnabled As System.Predicate(Of PivotView), _
ByVal isActive As System.Predicate(Of PivotView), _
ByVal subItems As System.Collections.Generic.IEnumerable(Of ToolbarItem) _
) |
| C# | |
|---|
public ToolbarButton(
System.string text,
System.string toolTipText,
System.Windows.Media.ImageSource image,
System.Action<PivotView> handler,
System.Predicate<PivotView> isEnabled,
System.Predicate<PivotView> isActive,
System.Collections.Generic.IEnumerable<ToolbarItem> subItems
) |
Parameters
- text
- toolTipText
- image
- handler
- isEnabled
- isActive
- subItems
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