Intersoft.Client.UI.Data Namespace : UXGridView Class |
<StyleTypedPropertyAttribute(Property="RowStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRow)> <StyleTypedPropertyAttribute(Property="RowGroupFooterStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowGroupFooter)> <StyleTypedPropertyAttribute(Property="DropLocationIndicatorStyle", StyleTargetType=System.Windows.Controls.ContentControl)> <StyleTypedPropertyAttribute(Property="DragIndicatorStyle", StyleTargetType=System.Windows.Controls.ContentControl)> <TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")> <StyleTypedPropertyAttribute(Property="ContextMenuStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewContextMenu)> <TemplatePartAttribute(Name="NewRowText", Type=Intersoft.Client.UI.Controls.StylishLabel)> <StyleTypedPropertyAttribute(Property="ColumnHeaderStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewColumnHeader)> <DescriptionAttribute("Represents a grid view control with MVVM binding support, rich data presentation features, and highly customizable settings.")> <StyleTypedPropertyAttribute(Property="ColumnFooterCellStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewCell)> <TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")> <StyleTypedPropertyAttribute(Property="ColumnFooterStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowGroupFooter)> <StyleTypedPropertyAttribute(Property="RowGroupFooterCellStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewCell)> <TemplatePartAttribute(Name="ScrollIndicatorContainer", Type=System.Windows.Controls.Grid)> <StyleTypedPropertyAttribute(Property="GroupByBoxStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewGroupBox)> <StyleTypedPropertyAttribute(Property="PagerStyle", StyleTargetType=Intersoft.Client.UI.Data.UXDataPager)> <TemplatePartAttribute(Name="RowsPresenter", Type=Intersoft.Client.UI.Data.UXGridViewRowsPresenter)> <TemplatePartAttribute(Name="ScrollIndicator", Type=System.Windows.Controls.ContentControl)> <TemplatePartAttribute(Name="ScrollIndicatorPopup", Type=Intersoft.Client.UI.Controls.UXPopup)> <StyleTypedPropertyAttribute(Property="ScrollIndicatorStyle", StyleTargetType=Intersoft.Client.UI.Controls.StylishLabel)> <StyleTypedPropertyAttribute(Property="RowHeaderStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowHeader)> <StyleTypedPropertyAttribute(Property="RowGroupHeaderStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowGroupHeader)> <StyleTypedPropertyAttribute(Property="StatusBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStatusBar)> <TemplatePartAttribute(Name="ColumnHeadersPresenter", Type=Intersoft.Client.UI.Data.UXGridViewColumnHeadersPresenter)> <StyleTypedPropertyAttribute(Property="ScrollBarStyle", StyleTargetType=Intersoft.Client.UI.Controls.UXScrollBar)> <TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Invalid")> <TemplatePartAttribute(Name="NoDataElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="VerticalScrollbar", Type=Intersoft.Client.UI.Controls.UXScrollBar)> <TemplatePartAttribute(Name="NoDataTemplateElement", Type=System.Windows.Controls.Grid)> <StyleTypedPropertyAttribute(Property="CellStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewCell)> <TemplatePartAttribute(Name="NoDataTextElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="StatusBarCommandItem", Type=Intersoft.Client.UI.Aqua.UXStatusBarItem)> <TemplatePartAttribute(Name="StatusBar", Type=Intersoft.Client.UI.Aqua.UXStatusBar)> <TemplatePartAttribute(Name="StatusBarPresenterElement", Type=System.Windows.Controls.Grid)> <TemplatePartAttribute(Name="HorizontalScrollbar", Type=Intersoft.Client.UI.Controls.UXScrollBar)> <TemplatePartAttribute(Name="StatusErrorText", Type=Intersoft.Client.UI.Controls.EllipsisText)> <TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")> <TemplatePartAttribute(Name="EditingCommandPanel", Type=System.Windows.Controls.Panel)> <TemplatePartAttribute(Name="ContextMenu", Type=Intersoft.Client.UI.Data.UXGridViewContextMenu)> <TemplatePartAttribute(Name="ColumnFooter", Type=Intersoft.Client.UI.Data.UXGridViewRowGroupFooter)> <TemplatePartAttribute(Name="ColumnFootersPresenter", Type=Intersoft.Client.UI.Data.UXGridViewColumnFootersPresenter)> <TemplatePartAttribute(Name="GroupBox", Type=Intersoft.Client.UI.Data.UXGridViewGroupBox)> <TemplatePartAttribute(Name="DataPager", Type=Intersoft.Client.UI.Data.UXDataPager)> <TemplatePartAttribute(Name="NewRowPresenter", Type=Intersoft.Client.UI.Data.UXGridViewNewRowPresenter)> <TemplatePartAttribute(Name="NewRow", Type=Intersoft.Client.UI.Data.UXGridViewNewRow)> Public Class UXGridView Inherits Intersoft.Client.Framework.ISControl Implements Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
Dim instance As UXGridView
[StyleTypedPropertyAttribute(Property="RowStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRow)] [StyleTypedPropertyAttribute(Property="RowGroupFooterStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowGroupFooter)] [StyleTypedPropertyAttribute(Property="DropLocationIndicatorStyle", StyleTargetType=System.Windows.Controls.ContentControl)] [StyleTypedPropertyAttribute(Property="DragIndicatorStyle", StyleTargetType=System.Windows.Controls.ContentControl)] [TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")] [StyleTypedPropertyAttribute(Property="ContextMenuStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewContextMenu)] [TemplatePartAttribute(Name="NewRowText", Type=Intersoft.Client.UI.Controls.StylishLabel)] [StyleTypedPropertyAttribute(Property="ColumnHeaderStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewColumnHeader)] [DescriptionAttribute("Represents a grid view control with MVVM binding support, rich data presentation features, and highly customizable settings.")] [StyleTypedPropertyAttribute(Property="ColumnFooterCellStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewCell)] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")] [StyleTypedPropertyAttribute(Property="ColumnFooterStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowGroupFooter)] [StyleTypedPropertyAttribute(Property="RowGroupFooterCellStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewCell)] [TemplatePartAttribute(Name="ScrollIndicatorContainer", Type=System.Windows.Controls.Grid)] [StyleTypedPropertyAttribute(Property="GroupByBoxStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewGroupBox)] [StyleTypedPropertyAttribute(Property="PagerStyle", StyleTargetType=Intersoft.Client.UI.Data.UXDataPager)] [TemplatePartAttribute(Name="RowsPresenter", Type=Intersoft.Client.UI.Data.UXGridViewRowsPresenter)] [TemplatePartAttribute(Name="ScrollIndicator", Type=System.Windows.Controls.ContentControl)] [TemplatePartAttribute(Name="ScrollIndicatorPopup", Type=Intersoft.Client.UI.Controls.UXPopup)] [StyleTypedPropertyAttribute(Property="ScrollIndicatorStyle", StyleTargetType=Intersoft.Client.UI.Controls.StylishLabel)] [StyleTypedPropertyAttribute(Property="RowHeaderStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowHeader)] [StyleTypedPropertyAttribute(Property="RowGroupHeaderStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowGroupHeader)] [StyleTypedPropertyAttribute(Property="StatusBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStatusBar)] [TemplatePartAttribute(Name="ColumnHeadersPresenter", Type=Intersoft.Client.UI.Data.UXGridViewColumnHeadersPresenter)] [StyleTypedPropertyAttribute(Property="ScrollBarStyle", StyleTargetType=Intersoft.Client.UI.Controls.UXScrollBar)] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Invalid")] [TemplatePartAttribute(Name="NoDataElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="VerticalScrollbar", Type=Intersoft.Client.UI.Controls.UXScrollBar)] [TemplatePartAttribute(Name="NoDataTemplateElement", Type=System.Windows.Controls.Grid)] [StyleTypedPropertyAttribute(Property="CellStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewCell)] [TemplatePartAttribute(Name="NoDataTextElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="StatusBarCommandItem", Type=Intersoft.Client.UI.Aqua.UXStatusBarItem)] [TemplatePartAttribute(Name="StatusBar", Type=Intersoft.Client.UI.Aqua.UXStatusBar)] [TemplatePartAttribute(Name="StatusBarPresenterElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="HorizontalScrollbar", Type=Intersoft.Client.UI.Controls.UXScrollBar)] [TemplatePartAttribute(Name="StatusErrorText", Type=Intersoft.Client.UI.Controls.EllipsisText)] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")] [TemplatePartAttribute(Name="EditingCommandPanel", Type=System.Windows.Controls.Panel)] [TemplatePartAttribute(Name="ContextMenu", Type=Intersoft.Client.UI.Data.UXGridViewContextMenu)] [TemplatePartAttribute(Name="ColumnFooter", Type=Intersoft.Client.UI.Data.UXGridViewRowGroupFooter)] [TemplatePartAttribute(Name="ColumnFootersPresenter", Type=Intersoft.Client.UI.Data.UXGridViewColumnFootersPresenter)] [TemplatePartAttribute(Name="GroupBox", Type=Intersoft.Client.UI.Data.UXGridViewGroupBox)] [TemplatePartAttribute(Name="DataPager", Type=Intersoft.Client.UI.Data.UXDataPager)] [TemplatePartAttribute(Name="NewRowPresenter", Type=Intersoft.Client.UI.Data.UXGridViewNewRowPresenter)] [TemplatePartAttribute(Name="NewRow", Type=Intersoft.Client.UI.Data.UXGridViewNewRow)] public class UXGridView : Intersoft.Client.Framework.ISControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
[StyleTypedPropertyAttribute(Property="RowStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRow)] [StyleTypedPropertyAttribute(Property="RowGroupFooterStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowGroupFooter)] [StyleTypedPropertyAttribute(Property="DropLocationIndicatorStyle", StyleTargetType=System.Windows.Controls.ContentControl)] [StyleTypedPropertyAttribute(Property="DragIndicatorStyle", StyleTargetType=System.Windows.Controls.ContentControl)] [TemplateVisualStateAttribute(Name="Disabled", GroupName="CommonStates")] [StyleTypedPropertyAttribute(Property="ContextMenuStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewContextMenu)] [TemplatePartAttribute(Name="NewRowText", Type=Intersoft.Client.UI.Controls.StylishLabel)] [StyleTypedPropertyAttribute(Property="ColumnHeaderStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewColumnHeader)] [DescriptionAttribute("Represents a grid view control with MVVM binding support, rich data presentation features, and highly customizable settings.")] [StyleTypedPropertyAttribute(Property="ColumnFooterCellStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewCell)] [TemplateVisualStateAttribute(GroupName="CommonStates", Name="Normal")] [StyleTypedPropertyAttribute(Property="ColumnFooterStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowGroupFooter)] [StyleTypedPropertyAttribute(Property="RowGroupFooterCellStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewCell)] [TemplatePartAttribute(Name="ScrollIndicatorContainer", Type=System.Windows.Controls.Grid)] [StyleTypedPropertyAttribute(Property="GroupByBoxStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewGroupBox)] [StyleTypedPropertyAttribute(Property="PagerStyle", StyleTargetType=Intersoft.Client.UI.Data.UXDataPager)] [TemplatePartAttribute(Name="RowsPresenter", Type=Intersoft.Client.UI.Data.UXGridViewRowsPresenter)] [TemplatePartAttribute(Name="ScrollIndicator", Type=System.Windows.Controls.ContentControl)] [TemplatePartAttribute(Name="ScrollIndicatorPopup", Type=Intersoft.Client.UI.Controls.UXPopup)] [StyleTypedPropertyAttribute(Property="ScrollIndicatorStyle", StyleTargetType=Intersoft.Client.UI.Controls.StylishLabel)] [StyleTypedPropertyAttribute(Property="RowHeaderStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowHeader)] [StyleTypedPropertyAttribute(Property="RowGroupHeaderStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewRowGroupHeader)] [StyleTypedPropertyAttribute(Property="StatusBarStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXStatusBar)] [TemplatePartAttribute(Name="ColumnHeadersPresenter", Type=Intersoft.Client.UI.Data.UXGridViewColumnHeadersPresenter)] [StyleTypedPropertyAttribute(Property="ScrollBarStyle", StyleTargetType=Intersoft.Client.UI.Controls.UXScrollBar)] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Invalid")] [TemplatePartAttribute(Name="NoDataElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="VerticalScrollbar", Type=Intersoft.Client.UI.Controls.UXScrollBar)] [TemplatePartAttribute(Name="NoDataTemplateElement", Type=System.Windows.Controls.Grid)] [StyleTypedPropertyAttribute(Property="CellStyle", StyleTargetType=Intersoft.Client.UI.Data.UXGridViewCell)] [TemplatePartAttribute(Name="NoDataTextElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="StatusBarCommandItem", Type=Intersoft.Client.UI.Aqua.UXStatusBarItem)] [TemplatePartAttribute(Name="StatusBar", Type=Intersoft.Client.UI.Aqua.UXStatusBar)] [TemplatePartAttribute(Name="StatusBarPresenterElement", Type=System.Windows.Controls.Grid)] [TemplatePartAttribute(Name="HorizontalScrollbar", Type=Intersoft.Client.UI.Controls.UXScrollBar)] [TemplatePartAttribute(Name="StatusErrorText", Type=Intersoft.Client.UI.Controls.EllipsisText)] [TemplateVisualStateAttribute(GroupName="ValidationStates", Name="Valid")] [TemplatePartAttribute(Name="EditingCommandPanel", Type=System.Windows.Controls.Panel)] [TemplatePartAttribute(Name="ContextMenu", Type=Intersoft.Client.UI.Data.UXGridViewContextMenu)] [TemplatePartAttribute(Name="ColumnFooter", Type=Intersoft.Client.UI.Data.UXGridViewRowGroupFooter)] [TemplatePartAttribute(Name="ColumnFootersPresenter", Type=Intersoft.Client.UI.Data.UXGridViewColumnFootersPresenter)] [TemplatePartAttribute(Name="GroupBox", Type=Intersoft.Client.UI.Data.UXGridViewGroupBox)] [TemplatePartAttribute(Name="DataPager", Type=Intersoft.Client.UI.Data.UXDataPager)] [TemplatePartAttribute(Name="NewRowPresenter", Type=Intersoft.Client.UI.Data.UXGridViewNewRowPresenter)] [TemplatePartAttribute(Name="NewRow", Type=Intersoft.Client.UI.Data.UXGridViewNewRow)] public ref class UXGridView : public Intersoft.Client.Framework.ISControl, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
UXGridView provides a flexible way to display a collection of data in rows and columns. The built-in column types include a text box column, a check box column, combo box column and template column for hosting custom content. The built-in row type includes a drop-down details section that you can use to display additional content below the cell values.
To bind UXGridViewto data, set the ItemsSource property to an object that implements IEnumerable. Each row in the UXGridView is bound to an object in the data source, and each column in the UXGridView is bound to a property of the data object. In order for the UXGridView user interface to update automatically when items are added to or removed from the source data, UXGridView must be bound to a collection that implements INotifyCollectionChanged, such as an ObservableCollection<T>. In addition, for the user interface to automatically reflect property changes, the objects in the source collection must implement the INotifyPropertyChanged interface.
The following code shows a simple UXGridView with data binding in XAML.
XAML |
Copy Code
|
---|---|
<Intersoft:UXGridView ItemsSource="{Binding Products}"/> |
For more information about UXGridView, see UXGridView Overview.
The following code shows a simple UXGridView with data binding in XAML.
XAML |
Copy Code
|
---|---|
<Intersoft:UXGridView ItemsSource="{Binding Products}"/> |
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
Intersoft.Client.Framework.ISControl
Intersoft.Client.UI.Data.UXGridView
Intersoft.Client.UI.Data.UXTreeList
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