C1.WPF.Toolbar Namespace : C1ToolbarDropDown Class |
'Declaration
Public Class C1ToolbarDropDown Inherits C1.WPF.C1DropDown
public class C1ToolbarDropDown : C1.WPF.C1DropDown
> <c1:C1ToolbarDropDown Padding="2" Header="Color"> <c1:C1ToolbarDropDown.Content> <StackPanel Margin="2" Orientation="Horizontal"> <Button Margin="2" Content="Red" Foreground="Red" /> <Button Margin="2" Content="Green" Foreground="Green" /> <Button Margin="2" Content="Blue" Foreground="Blue" /> </StackPanel> </c1:C1ToolbarDropDown.Content> </c1:C1ToolbarDropDown>
> <c1:C1ToolbarDropDown Padding="2" Header="Color"> <c1:C1ToolbarDropDown.Menu> <c1:C1ContextMenu> <c1:C1MenuItem IsCheckable="True" Header="Red" HeaderForeground="Red" /> <c1:C1MenuItem IsCheckable="True" Header="Green" HeaderForeground="Green" /> <c1:C1MenuItem IsCheckable="True" Header="Blue" HeaderForeground="Blue" /> </c1:C1ContextMenu> </c1:C1ToolbarDropDown.Menu> </c1:C1ToolbarDropDown>
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
C1.WPF.C1HeaderedContentControl
C1.WPF.C1DropDownButton
C1.WPF.C1DropDown
C1.WPF.Toolbar.C1ToolbarDropDown
C1.WPF.Toolbar.C1ToolbarSplitButton
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