3 types derived from DataTemplateSelector
PresentationFramework (2)
MS\Internal\Data\DisplayMemberTemplateSelector.cs (1)
20
internal sealed class DisplayMemberTemplateSelector :
DataTemplateSelector
System\Windows\Controls\ContentPresenter.cs (1)
1151
private class DefaultSelector :
DataTemplateSelector
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
2077
private class RibbonGalleryDefaultFilterItemTemplateSelector :
DataTemplateSelector
116 references to DataTemplateSelector
PresentationFramework (96)
MS\Internal\Helper.cs (1)
383
(templateSelector is System.Windows.Controls.
DataTemplateSelector
||
System\Windows\Controls\ContentControl.cs (9)
130
DataTemplateSelector
itemTemplateSelector,
390
typeof(
DataTemplateSelector
),
393
(
DataTemplateSelector
) null,
405
public
DataTemplateSelector
ContentTemplateSelector
407
get { return (
DataTemplateSelector
) GetValue(ContentTemplateSelectorProperty); }
417
ctrl.OnContentTemplateSelectorChanged((
DataTemplateSelector
) e.NewValue, (
DataTemplateSelector
) e.NewValue);
425
protected virtual void OnContentTemplateSelectorChanged(
DataTemplateSelector
oldContentTemplateSelector,
DataTemplateSelector
newContentTemplateSelector)
System\Windows\Controls\ContentPresenter.cs (8)
308
(
DataTemplateSelector
)null,
319
public
DataTemplateSelector
ContentTemplateSelector
321
get { return (
DataTemplateSelector
) GetValue(ContentControl.ContentTemplateSelectorProperty); }
342
ctrl.OnContentTemplateSelectorChanged((
DataTemplateSelector
) e.OldValue, (
DataTemplateSelector
) e.NewValue);
350
protected virtual void OnContentTemplateSelectorChanged(
DataTemplateSelector
oldContentTemplateSelector,
DataTemplateSelector
newContentTemplateSelector)
598
DataTemplateSelector
itemTemplateSelector,
System\Windows\Controls\DataGrid.cs (6)
1444
public
DataTemplateSelector
RowHeaderTemplateSelector
1446
get { return (
DataTemplateSelector
)GetValue(RowHeaderTemplateSelectorProperty); }
1454
DependencyProperty.Register("RowHeaderTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged)));
3935
public
DataTemplateSelector
RowDetailsTemplateSelector
3937
get { return (
DataTemplateSelector
)GetValue(RowDetailsTemplateSelectorProperty); }
3945
DependencyProperty.Register("RowDetailsTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged));
System\Windows\Controls\DataGridColumn.cs (3)
98
public
DataTemplateSelector
HeaderTemplateSelector
100
get { return (
DataTemplateSelector
)GetValue(HeaderTemplateSelectorProperty); }
108
DependencyProperty.Register("HeaderTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged));
System\Windows\Controls\DataGridRow.cs (6)
325
public
DataTemplateSelector
HeaderTemplateSelector
327
get { return (
DataTemplateSelector
)GetValue(HeaderTemplateSelectorProperty); }
335
DependencyProperty.Register("HeaderTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplateSelector));
374
public
DataTemplateSelector
DetailsTemplateSelector
376
get { return (
DataTemplateSelector
)GetValue(DetailsTemplateSelectorProperty); }
384
DependencyProperty.Register("DetailsTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplateSelector));
System\Windows\Controls\DataGridTemplateColumn.cs (8)
78
public
DataTemplateSelector
CellTemplateSelector
80
get { return (
DataTemplateSelector
)GetValue(CellTemplateSelectorProperty); }
89
typeof(
DataTemplateSelector
),
116
public
DataTemplateSelector
CellEditingTemplateSelector
118
get { return (
DataTemplateSelector
)GetValue(CellEditingTemplateSelectorProperty); }
127
typeof(
DataTemplateSelector
),
136
private void ChooseCellTemplateAndSelector(bool isEditing, out DataTemplate template, out
DataTemplateSelector
templateSelector)
167
DataTemplateSelector
templateSelector;
System\Windows\Controls\GridView.cs (3)
306
typeof(
DataTemplateSelector
),
320
public
DataTemplateSelector
ColumnHeaderTemplateSelector
322
get { return (
DataTemplateSelector
)GetValue(ColumnHeaderTemplateSelectorProperty); }
System\Windows\Controls\GridViewColumn.cs (6)
200
typeof(
DataTemplateSelector
),
214
public
DataTemplateSelector
HeaderTemplateSelector
216
get { return (
DataTemplateSelector
)GetValue(HeaderTemplateSelectorProperty); }
349
typeof(
DataTemplateSelector
),
359
public
DataTemplateSelector
CellTemplateSelector
361
get { return (
DataTemplateSelector
)GetValue(CellTemplateSelectorProperty); }
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
113
public
DataTemplateSelector
ColumnHeaderTemplateSelector
115
get { return (
DataTemplateSelector
)GetValue(ColumnHeaderTemplateSelectorProperty); }
System\Windows\Controls\GridViewRowPresenter.cs (2)
346
DataTemplateSelector
dts;
602
DataTemplateSelector
dts;
System\Windows\Controls\GroupStyle.cs (2)
147
public
DataTemplateSelector
HeaderTemplateSelector
227
DataTemplateSelector
_headerTemplateSelector;
System\Windows\Controls\HeaderedContentControl.cs (9)
183
typeof(
DataTemplateSelector
),
186
(
DataTemplateSelector
) null,
197
public
DataTemplateSelector
HeaderTemplateSelector
199
get { return (
DataTemplateSelector
) GetValue(HeaderTemplateSelectorProperty); }
210
ctrl.OnHeaderTemplateSelectorChanged((
DataTemplateSelector
) e.OldValue, (
DataTemplateSelector
) e.NewValue);
218
protected virtual void OnHeaderTemplateSelectorChanged(
DataTemplateSelector
oldHeaderTemplateSelector,
DataTemplateSelector
newHeaderTemplateSelector)
327
DataTemplateSelector
itemTemplateSelector,
System\Windows\Controls\HeaderedItemsControl.cs (9)
177
(
DataTemplateSelector
) null,
188
public
DataTemplateSelector
HeaderTemplateSelector
190
get { return (
DataTemplateSelector
) GetValue(HeaderTemplateSelectorProperty); }
200
ctrl.OnHeaderTemplateSelectorChanged((
DataTemplateSelector
) e.OldValue, (
DataTemplateSelector
) e.NewValue);
208
protected virtual void OnHeaderTemplateSelectorChanged(
DataTemplateSelector
oldHeaderTemplateSelector,
DataTemplateSelector
newHeaderTemplateSelector)
283
DataTemplateSelector
itemTemplateSelector = parentItemsControl.ItemTemplateSelector;
412
DataTemplateSelector
selector = HeaderTemplateSelector;
System\Windows\Controls\ItemsControl.cs (10)
413
DataTemplateSelector
itemTemplateSelector = ItemTemplateSelector;
509
typeof(
DataTemplateSelector
),
512
(
DataTemplateSelector
) null,
524
public
DataTemplateSelector
ItemTemplateSelector
526
get { return (
DataTemplateSelector
) GetValue(ItemTemplateSelectorProperty); }
537
((ItemsControl)d).OnItemTemplateSelectorChanged((
DataTemplateSelector
) e.OldValue, (
DataTemplateSelector
) e.NewValue);
545
protected virtual void OnItemTemplateSelectorChanged(
DataTemplateSelector
oldItemTemplateSelector,
DataTemplateSelector
newItemTemplateSelector)
1756
DataTemplateSelector
itemTemplateSelector = parentItemsControl.ItemTemplateSelector;
System\Windows\Controls\TabControl.cs (8)
171
private static readonly DependencyPropertyKey SelectedContentTemplateSelectorPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplateSelector", typeof(
DataTemplateSelector
), typeof(TabControl), new FrameworkPropertyMetadata((
DataTemplateSelector
)null));
184
public
DataTemplateSelector
SelectedContentTemplateSelector
188
return (
DataTemplateSelector
)GetValue(SelectedContentTemplateSelectorProperty);
253
public static readonly DependencyProperty ContentTemplateSelectorProperty = DependencyProperty.Register("ContentTemplateSelector", typeof(
DataTemplateSelector
), typeof(TabControl), new FrameworkPropertyMetadata((
DataTemplateSelector
)null));
258
public
DataTemplateSelector
ContentTemplateSelector
262
return (
DataTemplateSelector
)GetValue(ContentTemplateSelectorProperty);
System\Windows\Controls\TabItem.cs (2)
438
protected override void OnContentTemplateSelectorChanged(
DataTemplateSelector
oldContentTemplateSelector,
DataTemplateSelector
newContentTemplateSelector)
System\Windows\HierarchicalDataTemplate.cs (2)
93
public
DataTemplateSelector
ItemTemplateSelector
238
private
DataTemplateSelector
_itemTemplateSelector;
System.Windows.Controls.Ribbon (20)
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (6)
136
public
DataTemplateSelector
FooterPaneContentTemplateSelector
138
get { return (
DataTemplateSelector
)GetValue(FooterPaneContentTemplateSelectorProperty); }
148
typeof(
DataTemplateSelector
),
193
public
DataTemplateSelector
AuxiliaryPaneContentTemplateSelector
195
get { return (
DataTemplateSelector
)GetValue(AuxiliaryPaneContentTemplateSelectorProperty); }
205
typeof(
DataTemplateSelector
),
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (5)
282
DependencyProperty.RegisterReadOnly("SelectionBoxItemTemplateSelector", typeof(
DataTemplateSelector
), typeof(RibbonComboBox),
283
new FrameworkPropertyMetadata((
DataTemplateSelector
)null));
293
public
DataTemplateSelector
SelectionBoxItemTemplateSelector
295
get { return (
DataTemplateSelector
)GetValue(SelectionBoxItemTemplateSelectorProperty); }
507
DataTemplateSelector
itemTemplateSelector = null;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (5)
141
typeof(
DataTemplateSelector
),
144
(
DataTemplateSelector
) null));
153
public
DataTemplateSelector
HeaderTemplateSelector
155
get { return (
DataTemplateSelector
) GetValue(HeaderTemplateSelectorProperty); }
412
DataTemplateSelector
itemTemplateSelector,
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (4)
321
DataTemplateSelector
filterItemTemplateSelector = gallery.FilterItemTemplateSelector;
2036
public
DataTemplateSelector
FilterItemTemplateSelector
2038
get { return (
DataTemplateSelector
)GetValue(FilterItemTemplateSelectorProperty); }
2047
typeof(
DataTemplateSelector
),