4 types derived from DataTemplateSelector
PresentationFramework (2)
src\Framework\MS\Internal\Data\DisplayMemberTemplateSelector.cs (1)
22
internal sealed class DisplayMemberTemplateSelector :
DataTemplateSelector
src\Framework\System\Windows\Controls\ContentPresenter.cs (1)
1154
private class DefaultSelector :
DataTemplateSelector
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\quickitemtemplateselector.cs (1)
22
internal class QuickItemTemplateSelector :
DataTemplateSelector
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewTemplateSelector.cs (1)
13
sealed class TreeViewTemplateSelector :
DataTemplateSelector
99 references to DataTemplateSelector
PresentationFramework (96)
src\Framework\MS\Internal\Helper.cs (1)
392
(templateSelector is System.Windows.Controls.
DataTemplateSelector
||
src\Framework\System\Windows\Controls\ContentControl.cs (9)
126
DataTemplateSelector
itemTemplateSelector,
386
typeof(
DataTemplateSelector
),
389
(
DataTemplateSelector
) null,
401
public
DataTemplateSelector
ContentTemplateSelector
403
get { return (
DataTemplateSelector
) GetValue(ContentTemplateSelectorProperty); }
413
ctrl.OnContentTemplateSelectorChanged((
DataTemplateSelector
) e.NewValue, (
DataTemplateSelector
) e.NewValue);
421
protected virtual void OnContentTemplateSelectorChanged(
DataTemplateSelector
oldContentTemplateSelector,
DataTemplateSelector
newContentTemplateSelector)
src\Framework\System\Windows\Controls\ContentPresenter.cs (8)
310
(
DataTemplateSelector
)null,
321
public
DataTemplateSelector
ContentTemplateSelector
323
get { return (
DataTemplateSelector
) GetValue(ContentControl.ContentTemplateSelectorProperty); }
344
ctrl.OnContentTemplateSelectorChanged((
DataTemplateSelector
) e.OldValue, (
DataTemplateSelector
) e.NewValue);
352
protected virtual void OnContentTemplateSelectorChanged(
DataTemplateSelector
oldContentTemplateSelector,
DataTemplateSelector
newContentTemplateSelector)
600
DataTemplateSelector
itemTemplateSelector,
src\Framework\System\Windows\Controls\DataGrid.cs (6)
1445
public
DataTemplateSelector
RowHeaderTemplateSelector
1447
get { return (
DataTemplateSelector
)GetValue(RowHeaderTemplateSelectorProperty); }
1455
DependencyProperty.Register("RowHeaderTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged)));
3940
public
DataTemplateSelector
RowDetailsTemplateSelector
3942
get { return (
DataTemplateSelector
)GetValue(RowDetailsTemplateSelectorProperty); }
3950
DependencyProperty.Register("RowDetailsTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged));
src\Framework\System\Windows\Controls\DataGridColumn.cs (3)
99
public
DataTemplateSelector
HeaderTemplateSelector
101
get { return (
DataTemplateSelector
)GetValue(HeaderTemplateSelectorProperty); }
109
DependencyProperty.Register("HeaderTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged));
src\Framework\System\Windows\Controls\DataGridRow.cs (6)
326
public
DataTemplateSelector
HeaderTemplateSelector
328
get { return (
DataTemplateSelector
)GetValue(HeaderTemplateSelectorProperty); }
336
DependencyProperty.Register("HeaderTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplateSelector));
375
public
DataTemplateSelector
DetailsTemplateSelector
377
get { return (
DataTemplateSelector
)GetValue(DetailsTemplateSelectorProperty); }
385
DependencyProperty.Register("DetailsTemplateSelector", typeof(
DataTemplateSelector
), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplateSelector));
src\Framework\System\Windows\Controls\DataGridTemplateColumn.cs (8)
79
public
DataTemplateSelector
CellTemplateSelector
81
get { return (
DataTemplateSelector
)GetValue(CellTemplateSelectorProperty); }
90
typeof(
DataTemplateSelector
),
117
public
DataTemplateSelector
CellEditingTemplateSelector
119
get { return (
DataTemplateSelector
)GetValue(CellEditingTemplateSelectorProperty); }
128
typeof(
DataTemplateSelector
),
137
private void ChooseCellTemplateAndSelector(bool isEditing, out DataTemplate template, out
DataTemplateSelector
templateSelector)
168
DataTemplateSelector
templateSelector;
src\Framework\System\Windows\Controls\GridView.cs (3)
308
typeof(
DataTemplateSelector
),
322
public
DataTemplateSelector
ColumnHeaderTemplateSelector
324
get { return (
DataTemplateSelector
)GetValue(ColumnHeaderTemplateSelectorProperty); }
src\Framework\System\Windows\Controls\GridViewColumn.cs (6)
202
typeof(
DataTemplateSelector
),
216
public
DataTemplateSelector
HeaderTemplateSelector
218
get { return (
DataTemplateSelector
)GetValue(HeaderTemplateSelectorProperty); }
351
typeof(
DataTemplateSelector
),
361
public
DataTemplateSelector
CellTemplateSelector
363
get { return (
DataTemplateSelector
)GetValue(CellTemplateSelectorProperty); }
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
115
public
DataTemplateSelector
ColumnHeaderTemplateSelector
117
get { return (
DataTemplateSelector
)GetValue(ColumnHeaderTemplateSelectorProperty); }
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (2)
348
DataTemplateSelector
dts;
605
DataTemplateSelector
dts;
src\Framework\System\Windows\Controls\GroupStyle.cs (2)
150
public
DataTemplateSelector
HeaderTemplateSelector
230
DataTemplateSelector
_headerTemplateSelector;
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (9)
184
typeof(
DataTemplateSelector
),
187
(
DataTemplateSelector
) null,
198
public
DataTemplateSelector
HeaderTemplateSelector
200
get { return (
DataTemplateSelector
) GetValue(HeaderTemplateSelectorProperty); }
211
ctrl.OnHeaderTemplateSelectorChanged((
DataTemplateSelector
) e.OldValue, (
DataTemplateSelector
) e.NewValue);
219
protected virtual void OnHeaderTemplateSelectorChanged(
DataTemplateSelector
oldHeaderTemplateSelector,
DataTemplateSelector
newHeaderTemplateSelector)
328
DataTemplateSelector
itemTemplateSelector,
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (9)
173
(
DataTemplateSelector
) null,
184
public
DataTemplateSelector
HeaderTemplateSelector
186
get { return (
DataTemplateSelector
) GetValue(HeaderTemplateSelectorProperty); }
196
ctrl.OnHeaderTemplateSelectorChanged((
DataTemplateSelector
) e.OldValue, (
DataTemplateSelector
) e.NewValue);
204
protected virtual void OnHeaderTemplateSelectorChanged(
DataTemplateSelector
oldHeaderTemplateSelector,
DataTemplateSelector
newHeaderTemplateSelector)
279
DataTemplateSelector
itemTemplateSelector = parentItemsControl.ItemTemplateSelector;
408
DataTemplateSelector
selector = HeaderTemplateSelector;
src\Framework\System\Windows\Controls\ItemsControl.cs (10)
415
DataTemplateSelector
itemTemplateSelector = ItemTemplateSelector;
511
typeof(
DataTemplateSelector
),
514
(
DataTemplateSelector
) null,
526
public
DataTemplateSelector
ItemTemplateSelector
528
get { return (
DataTemplateSelector
) GetValue(ItemTemplateSelectorProperty); }
539
((ItemsControl)d).OnItemTemplateSelectorChanged((
DataTemplateSelector
) e.OldValue, (
DataTemplateSelector
) e.NewValue);
547
protected virtual void OnItemTemplateSelectorChanged(
DataTemplateSelector
oldItemTemplateSelector,
DataTemplateSelector
newItemTemplateSelector)
1759
DataTemplateSelector
itemTemplateSelector = parentItemsControl.ItemTemplateSelector;
src\Framework\System\Windows\Controls\TabControl.cs (8)
172
private static readonly DependencyPropertyKey SelectedContentTemplateSelectorPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplateSelector", typeof(
DataTemplateSelector
), typeof(TabControl), new FrameworkPropertyMetadata((
DataTemplateSelector
)null));
185
public
DataTemplateSelector
SelectedContentTemplateSelector
189
return (
DataTemplateSelector
)GetValue(SelectedContentTemplateSelectorProperty);
254
public static readonly DependencyProperty ContentTemplateSelectorProperty = DependencyProperty.Register("ContentTemplateSelector", typeof(
DataTemplateSelector
), typeof(TabControl), new FrameworkPropertyMetadata((
DataTemplateSelector
)null));
259
public
DataTemplateSelector
ContentTemplateSelector
263
return (
DataTemplateSelector
)GetValue(ContentTemplateSelectorProperty);
src\Framework\System\Windows\Controls\TabItem.cs (2)
424
protected override void OnContentTemplateSelectorChanged(
DataTemplateSelector
oldContentTemplateSelector,
DataTemplateSelector
newContentTemplateSelector)
src\Framework\System\Windows\HierarchicalDataTemplate.cs (2)
94
public
DataTemplateSelector
ItemTemplateSelector
239
private
DataTemplateSelector
_itemTemplateSelector;
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (3)
53
public static readonly DependencyProperty ItemTemplateSelectorProperty = DependencyProperty.Register("ItemTemplateSelector", typeof(
DataTemplateSelector
), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(ChoiceEditor.ItemTemplateSelectorChanged)));
213
public
DataTemplateSelector
ItemTemplateSelector
215
get { return (
DataTemplateSelector
)this.GetValue(ChoiceEditor.ItemTemplateSelectorProperty); }