

'Declaration<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)> <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)> Public Class CellEditorContext Inherits System.Windows.DependencyObject
'UsageDim instance As CellEditorContext
[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)] [NameScopeProperty("NameScope", System.Windows.NameScope)] public class CellEditorContext : System.Windows.DependencyObject
<xcdg:Column.CellEditor> <!-- ForeignKey CellEditor --> <xcdg:CellEditor > <xcdg:CellEditor.EditTemplate> <DataTemplate> <DataTemplate.Resources> <xcdg:NullToBooleanConverter x:Key="nullToBooleanConverter" /> </DataTemplate.Resources> <ListBox x:Name="fkListBox" xcdg:Cell.IsCellFocusScope="True" ItemTemplate="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:Cell.CellEditorContext).ParentColumn.CellContentTemplate, Mode=OneWay}" ItemContainerStyle="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:Cell.CellEditorContext).ForeignKeyConfiguration.ItemContainerStyle, Mode=OneWay}" ItemsSource="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:Cell.CellEditorContext).ForeignKeyConfiguration.ItemsSource, Mode=OneWay}" SelectedValuePath="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:Cell.CellEditorContext).ForeignKeyConfiguration.ValuePath, Mode=OneWay}" DisplayMemberPath="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:Cell.CellEditorContext).ForeignKeyConfiguration.DisplayMemberPath, Mode=OneWay}" SelectedValue="{xcdg:CellEditorBinding}" /> <!-- Only affect Selector if Template or Style is null --> <DataTemplate.Triggers> <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:Cell.CellEditorContext).ParentColumn.CellContentTemplate, Converter={StaticResource nullToBooleanConverter}, Mode=OneWay}" Value="True"> <Setter TargetName="fkListBox" Property="ItemTemplateSelector" Value="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:Cell.CellEditorContext).ParentColumn.CellContentTemplateSelector, Mode=OneWay}" /> </DataTrigger> <DataTrigger Binding="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:Cell.CellEditorContext).ForeignKeyConfiguration.ItemContainerStyle, Converter={StaticResource nullToBooleanConverter}, Mode=OneWay}" Value="True"> <Setter TargetName="fkListBox" Property="ItemContainerStyleSelector" Value="{Binding RelativeSource={RelativeSource Self}, Path=(xcdg:Cell.CellEditorContext).ForeignKeyConfiguration.ItemContainerStyleSelector, Mode=OneWay}" /> </DataTrigger> </DataTemplate.Triggers> </DataTemplate> </xcdg:CellEditor.EditTemplate> </xcdg:CellEditor> </xcdg:Column.CellEditor>
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
Xceed.Wpf.DataGrid.CellEditorContext
| Name | Description | |
|---|---|---|
![]() ![]() | ForeignKeyConfigurationProperty | Identifies the ForeignKeyConfiguration dependency property. |
![]() ![]() | ParentColumnProperty | Identifies the ParentColumn dependency property. |
| Name | Description | |
|---|---|---|
![]() | DependencyObjectType | (Inherited from System.Windows.DependencyObject) |
![]() | Dispatcher | (Inherited from System.Windows.Threading.DispatcherObject) |
![]() | ForeignKeyConfiguration | Gets the ForeignKeyConfiguration of the cell editor's parent column. |
![]() | IsSealed | (Inherited from System.Windows.DependencyObject) |
![]() | ParentColumn | Gets the cell editor's parent column. |
| Name | Description | |
|---|---|---|
![]() | ClearValue | Overloaded. (Inherited from System.Windows.DependencyObject) |
![]() | CoerceValue | (Inherited from System.Windows.DependencyObject) |
![]() | Equals | (Inherited from System.Windows.DependencyObject) |
![]() | GetHashCode | (Inherited from System.Windows.DependencyObject) |
![]() | GetLocalValueEnumerator | (Inherited from System.Windows.DependencyObject) |
![]() | GetValue | (Inherited from System.Windows.DependencyObject) |
![]() | InvalidateProperty | (Inherited from System.Windows.DependencyObject) |
![]() | ReadLocalValue | (Inherited from System.Windows.DependencyObject) |
![]() | SetCurrentValue | (Inherited from System.Windows.DependencyObject) |
![]() | SetValue | Overloaded. (Inherited from System.Windows.DependencyObject) |
| Name | Description | |
|---|---|---|
![]() | OnPropertyChanged | (Inherited from System.Windows.DependencyObject) |
![]() | ShouldSerializeProperty | (Inherited from System.Windows.DependencyObject) |
| 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. |
.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.