Intersoft ClientUI Documentation
Header Property
See Also  Send Feedback
Intersoft.Client.UI.Data Namespace > UXDataComboBoxColumn Class : Header Property






Gets or sets the column header text.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property Header As Object
Visual Basic (Usage)Copy Code
Dim instance As UXDataComboBoxColumn
Dim value As Object
 
instance.Header = value
 
value = instance.Header
C# 
[CategoryAttribute("Common Properties")]
public object Header {get; set;}
Delphi 
public read-write property Header: TObject; 
JScript 
CategoryAttribute("Common Properties")
public function get,set Header : Object
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property Object* get_Header();
public: __property void set_Header( 
   Object* value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property Object^ Header {
   Object^ get();
   void set (    Object^ value);
}

Example

The following code will explain how to implement it on UXPageableComboBox control.

XAML Copy Code
<Intersoft:UXPageableComboBox.Columns>
        <Intersoft:UXDataComboBoxTextColumn Header="Customer ID" Binding="{Binding CustomerID}"
                DisplayMode="Image" ImageHeight="64" ImageWidth="64" ImageStretch="Fill" ImageBinding="{Binding PhotoPath}"/>
        <Intersoft:UXDataComboBoxTextColumn Header="Contact Name" Binding="{Binding ContactName}"/>
        <Intersoft:UXDataComboBoxTextColumn Header="Company Name" Binding="{Binding CompanyName}"/>
</Intersoft:UXPageableComboBox.Columns>

Remarks

By default, column header will be displayed in multiple column mode. But if you want to hide the column header, simply set the ColumnHeaderVisibility property to Collapsed.

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.