Intersoft ClientUI Documentation
UXSeparator Class
Members 



Represents a separator control that can be hosted in ToolBar, Button or used independently. It supports horizontal and vertical orientation.
Object Model
UXSeparator ClassISFramework Class
Syntax
<DescriptionAttribute("Represents a separator control that can be hosted in ToolBar, Button or used independently. It supports horizontal and vertical orientation.")>
<TemplatePartAttribute(Name="Transformer", Type=Intersoft.Client.UI.Controls.ContentTransformer)>
Public Class UXSeparator 
   Inherits Intersoft.Client.Framework.ISControl
   Implements Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing 
Dim instance As UXSeparator
[DescriptionAttribute("Represents a separator control that can be hosted in ToolBar, Button or used independently. It supports horizontal and vertical orientation.")]
[TemplatePartAttribute(Name="Transformer", Type=Intersoft.Client.UI.Controls.ContentTransformer)]
public class UXSeparator : Intersoft.Client.Framework.ISControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing  
[DescriptionAttribute("Represents a separator control that can be hosted in ToolBar, Button or used independently. It supports horizontal and vertical orientation.")]
[TemplatePartAttribute(Name="Transformer", Type=Intersoft.Client.UI.Controls.ContentTransformer)]
public ref class UXSeparator : public Intersoft.Client.Framework.ISControl, Intersoft.Client.Framework.IControlIntersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing  
Remarks

UXSeparator is a multi-purpose line separator that can be used to separate two logical UI sections or contents.

UXSeparator draws a single 3D line that generally used to provide visual hint to separate one or more sections of user interface. UXSeparator can be defined in any standard UI elements such as shown in the following example.

XAML
Copy Code
<Intersoft:UXSeparator HorizontalAlignment="Left" 
                        VerticalAlignment="Top" 
                        Width="200" />

One of the most common usage of UXSeparator is to provide visual hint that separate the items in ItemsControl. UXSeparator is natively supported by the following ClientUI controls:

The following example shows how to use UXSeparator in a UXToolBar.

XAML
Copy Code
<Intersoft:UXToolBar>
    <Intersoft:UXToolGroup>
        <Intersoft:UXToolBarButton DisplayMode="Image" Icon="/ClientUIApplication_Docs;component/Assets/Images/CopyHS.png" />
        <Intersoft:UXSeparator />
        <Intersoft:UXToolBarButton DisplayMode="Image" Icon="/ClientUIApplication_Docs;component/Assets/Images/PasteHS.png" />
    </Intersoft:UXToolGroup>
</Intersoft:UXToolBar>

The result looks like the following figure.

You can display a UXSeparator horizontally which is the default, or vertically, which is controlled through the Orientation property.

When used in the natively supported ItemsControl such as described in the previous section, UXSeparator automatically adjusts its orientation with the setting of the items control.

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               Intersoft.Client.Framework.ISControl
                  Intersoft.Client.UI.Aqua.UXSeparator
                     Intersoft.Client.UI.Aqua.UXRibbon.UXRibbonSeparator

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

Reference

UXSeparator Members
Intersoft.Client.UI.Aqua Namespace

Send Feedback