Intersoft ClientUI Documentation
UXSeparator Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua Namespace : UXSeparator Class






Represents a separator control that can be hosted in ToolBar, Button or used independently. It supports horizontal and vertical orientation.

Object Model

UXSeparator Class

Syntax

Visual Basic (Declaration) 
<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 IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As UXSeparator
C# 
[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, IControlIFramework, ILicensing  
Delphi 
public class UXSeparator = class(Intersoft.Client.Framework.ISControl, IControl, IFramework, ILicensing)
JScript 
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 extends Intersoft.Client.Framework.ISControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[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 __gc class UXSeparator : public Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  
C++/CLI 
[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, IControlIFramework, 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.