Toggle Button whose ExpandDirection property and states are used to change the appearance of the expand button of the C1Expander.

Namespace:  C1.Silverlight.Extended
Assembly:  C1.Silverlight.Extended (in C1.Silverlight.Extended.dll)

Syntax

C#
[TemplateVisualStateAttribute(Name = "Right", GroupName = "DirectionStates")]
[TemplateVisualStateAttribute(Name = "Left", GroupName = "DirectionStates")]
[TemplateVisualStateAttribute(Name = "Up", GroupName = "DirectionStates")]
[TemplateVisualStateAttribute(Name = "Down", GroupName = "DirectionStates")]
public class C1ExpanderButton : ToggleButton
Visual Basic
<TemplateVisualStateAttribute(Name := "Right", GroupName := "DirectionStates")> _
<TemplateVisualStateAttribute(Name := "Left", GroupName := "DirectionStates")> _
<TemplateVisualStateAttribute(Name := "Up", GroupName := "DirectionStates")> _
<TemplateVisualStateAttribute(Name := "Down", GroupName := "DirectionStates")> _
Public Class C1ExpanderButton _
	Inherits ToggleButton

Inheritance Hierarchy

System..::..Object
  System.Windows..::..DependencyObject
    System.Windows..::..UIElement
      System.Windows..::..FrameworkElement
        System.Windows.Controls..::..Control
          System.Windows.Controls..::..ContentControl
            System.Windows.Controls.Primitives..::..ButtonBase
              System.Windows.Controls.Primitives..::..ToggleButton
                C1.Silverlight.Extended..::..C1ExpanderButton

See Also