'宣言 Public Class C1ToolbarDropdownItem Inherits C1.WPF.C1DropDown
public class C1ToolbarDropdownItem : C1.WPF.C1DropDown
'宣言 Public Class C1ToolbarDropdownItem Inherits C1.WPF.C1DropDown
public class C1ToolbarDropdownItem : 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.C1ToolbarDropdownItem