

'Declaration<DebuggerDisplayAttribute("FieldName = {FieldName}")> <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)> <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)> Public Class UnboundColumn Inherits ColumnBase
'UsageDim instance As UnboundColumn
[DebuggerDisplay("FieldName = {FieldName}")] [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)] [NameScopeProperty("NameScope", System.Windows.NameScope)] public class UnboundColumn : ColumnBase
<Grid xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid"> <Grid.Resources> <xcdg:DataGridCollectionViewSource x:Key="cvs_products" Source="{Binding Source={x:Static Application.Current}, Path=Products}" /> </Grid.Resources> <xcdg:DataGridControl x:Name="OrdersGrid" ItemsSource="{Binding Source={StaticResource cvs_products}}"> <xcdg:DataGridControl.Columns> <xcdg:UnboundColumn FieldName="EditRowColumn" Width="30" MinWidth="30" MaxWidth="30"> <xcdg:UnboundColumn.CellContentTemplate> <DataTemplate> <Button Click="Button_Click" Content="..." /> </DataTemplate> </xcdg:UnboundColumn.CellContentTemplate> </xcdg:UnboundColumn> <xcdg:Column FieldName="Photo" Visible="False" /> </xcdg:DataGridControl.Columns> </xcdg:DataGridControl> </Grid>
Private Sub Button_Click( ByVal sender As Object, ByVal e As RoutedEventArgs ) Dim cell As Cell = Cell.FindFromChild( TryCast( sender, DependencyObject ) ) Dim editor As New ProductsEditorWindow( TryCast( DataGridControl.GetParentDataGridControl( cell ).GetItemFromContainer( cell.ParentRow ), DataRowView ) ) editor.ShowDialog() End Sub
private void Button_Click( object sender, RoutedEventArgs e ) { Cell cell = Cell.FindFromChild( sender as DependencyObject ); ProductsEditorWindow editor = new ProductsEditorWindow( DataGridControl.GetParentDataGridControl( cell ).GetItemFromContainer( cell.ParentRow ) as DataRowView ); editor.ShowDialog(); }
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Freezable
Xceed.Wpf.DataGrid.ColumnBase
Xceed.Wpf.DataGrid.UnboundColumn
| Name | Description | |
|---|---|---|
![]() | UnboundColumn Constructor | Overloaded. |
| Name | Description | |
|---|---|---|
![]() ![]() | ReadOnlyProperty | Identifies the ReadOnly dependency property. |
| Name | Description | |
|---|---|---|
![]() | ActualWidth | Gets the actual width of the column considering the Width, MinWidth, and MaxWidth properties. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | CanBeCurrentWhenReadOnly | Gets or sets a value indicating whether cells in the column can receive focus when the parent column's ReadOnly property is set to true. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | CanFreeze | (Inherited from System.Windows.Freezable) |
![]() | CellContentStringFormat | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | CellContentTemplate | Gets or sets the DataTemplate used to display the cells' content. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | CellContentTemplateSelector | Gets or sets a DataTemplateSelector that provides a way to apply a different CellContentTemplate based on custom logic. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | CellEditorSelector | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | CellHorizontalContentAlignment | Gets or sets a value representing the horizontal content alignment of cells contained in the column. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | CellRecyclingGroup | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | CellVerticalContentAlignment | Gets or sets a value representing the vertical content alignment of cells contained in the column. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | DataGridControl | Gets the column's parent data-grid control. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | DefaultCulture | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | DependencyObjectType | (Inherited from System.Windows.DependencyObject) |
![]() | Description | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | Dispatcher | (Inherited from System.Windows.Threading.DispatcherObject) |
![]() | DisplayedValueConverter | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | DisplayedValueConverterCulture | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | DisplayedValueConverterParameter | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | DraggableStatus | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | FieldName | Gets or sets the case-sensitive field name that uniquely identifies the column in a grid's column collection. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | HasFixedWidth | Gets a value indicating whether the column has a fixed width. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | Index | Gets the index of the column in a grid's Column collection. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | IsFirstVisible | Gets a value indicating whether the column is the first visible column in a grid's. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | IsFrozen | (Inherited from System.Windows.Freezable) |
![]() | IsLastVisible | Gets a value indicating whether the column is the last visible column in a grid. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | IsMainColumn | Gets or sets a value indicating whether the column is a grid's main (primary) column. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | IsSealed | (Inherited from System.Windows.DependencyObject) |
![]() | MaxWidth | Gets or sets the maximum width of the column, in device-independent units (1/96th inch per unit). (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | MinWidth | Gets or sets the minimum width of the column, in device-independent units (1/96th inch per unit). (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | OverrideReadOnlyForInsertion | Gets or sets a value indicating whether a Row can be edited regardless of the value of the ReadOnly property. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | ReadOnly | Overridden. Gets or sets a value indicating whether the column is read only. |
![]() | SortDirectionCycle | (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | TextTrimming | Gets or sets a value that indicates the text trimming behavior to employ when textual content overflows the content area. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | TextWrapping | Gets or sets a value indicating how textual content should be wrapped. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | Title | Gets or sets the data displayed in a column's corresponding ColumnManagerCell and/or GroupByItem. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | TitleTemplate | Gets or sets the DataTemplate used to display the Title's content. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | TitleTemplateSelector | Gets or sets a DataTemplateSelector that provides a way to apply a different TitleTemplates based on custom logic. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | Visible | Gets or sets a value indicating whether the column is visible. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | VisiblePosition | Gets or sets the visible position of the Column. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
![]() | Width | Gets or sets the width of the column, in device-independent units (1/96th inch per unit). (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
| Name | Description | |
|---|---|---|
![]() | FindLogicalAncestor<T> | Finds the logical ancenster |
![]() | FindLogicalAncestorsAndSelf | |
![]() | FindLogicalChildren<T> | Find the logical children. |
![]() | FindVisualAncestor<T> | Finds the visual ancestor. |
![]() | FindVisualChildren<T> | Finds the visual children. |
![]() | FindVisualTreeRoot | Finds the visual tree root. |
![]() | ShowDialog | Overloaded. |
| Name | Description | |
|---|---|---|
![]() | Changed | (Inherited from System.Windows.Freezable) |
![]() | PropertyChanged | Raised when the value of a property is changed. (Inherited from Xceed.Wpf.DataGrid.ColumnBase) |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.