4 types derived from DataTemplate
PresentationFramework (4)
src\Framework\System\Windows\Controls\ContentPresenter.cs (2)
997
private class UseContentTemplate :
DataTemplate
1028
private class DefaultTemplate :
DataTemplate
src\Framework\System\Windows\Controls\ItemContainerTemplate.cs (1)
15
public class ItemContainerTemplate :
DataTemplate
src\Framework\System\Windows\HierarchicalDataTemplate.cs (1)
21
public class HierarchicalDataTemplate :
DataTemplate
14 instantiations of DataTemplate
PresentationFramework (10)
src\Framework\MS\Internal\Data\DisplayMemberTemplateSelector.cs (2)
47
_xmlNodeContentTemplate = new
DataTemplate
();
62
_clrNodeContentTemplate = new
DataTemplate
();
src\Framework\System\Windows\Controls\ContentPresenter.cs (6)
56
template = new
DataTemplate
();
64
template = new
DataTemplate
();
72
template = new
DataTemplate
();
719
template = new
DataTemplate
();
742
template = new
DataTemplate
();
766
template = new
DataTemplate
();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3148
bamlType.DefaultConstructor = delegate() { return new System.Windows.
DataTemplate
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1197
case KnownElements.DataTemplate: o = new System.Windows.
DataTemplate
(); break;
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (1)
692
this.flagEditorTemplate = new
DataTemplate
();
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
738
dynamicExpressionTemplate = new
DataTemplate
();
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
935
DataTemplate template = new
DataTemplate
();
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
1149
DataTemplate dt = new
DataTemplate
() { VisualTree = feFactory };
300 references to DataTemplate
PresentationFramework (181)
src\Framework\MS\Internal\Data\DisplayMemberTemplateSelector.cs (4)
36
/// Override this method to return an app specific <seealso cref="
DataTemplate
"/>.
41
public override
DataTemplate
SelectTemplate(object item, DependencyObject container)
77
private
DataTemplate
_xmlNodeContentTemplate;
78
private
DataTemplate
_clrNodeContentTemplate;
src\Framework\System\Windows\Controls\ComboBox.cs (5)
422
DependencyProperty.RegisterReadOnly("SelectionBoxItemTemplate", typeof(
DataTemplate
), typeof(ComboBox),
423
new FrameworkPropertyMetadata((
DataTemplate
)null));
433
public
DataTemplate
SelectionBoxItemTemplate
435
get { return (
DataTemplate
) GetValue(SelectionBoxItemTemplateProperty); }
876
DataTemplate
itemTemplate = ItemTemplate;
src\Framework\System\Windows\Controls\ContentControl.cs (9)
125
DataTemplate
itemTemplate,
341
typeof(
DataTemplate
),
344
(
DataTemplate
) null,
352
public
DataTemplate
ContentTemplate
354
get { return (
DataTemplate
) GetValue(ContentTemplateProperty); }
364
ctrl.OnContentTemplateChanged((
DataTemplate
) e.OldValue, (
DataTemplate
) e.NewValue);
372
protected virtual void OnContentTemplateChanged(
DataTemplate
oldContentTemplate,
DataTemplate
newContentTemplate)
src\Framework\System\Windows\Controls\ContentPresenter.cs (54)
51
DataTemplate
template;
113
DataTemplate
defaultValue = (
DataTemplate
) metadata.DefaultValue;
263
(
DataTemplate
)null,
270
public
DataTemplate
ContentTemplate
272
get { return (
DataTemplate
) GetValue(ContentControl.ContentTemplateProperty); }
283
ctrl.OnContentTemplateChanged((
DataTemplate
) e.OldValue, (
DataTemplate
) e.NewValue);
291
protected virtual void OnContentTemplateChanged(
DataTemplate
oldContentTemplate,
DataTemplate
newContentTemplate)
529
protected virtual
DataTemplate
ChooseTemplate()
531
DataTemplate
template = null;
561
internal static
DataTemplate
AccessTextContentTemplate
566
internal static
DataTemplate
StringContentTemplate
581
set { _templateCache = (
DataTemplate
)value; }
599
DataTemplate
itemTemplate,
686
static
DataTemplate
XmlNodeContentTemplate
691
static
DataTemplate
UIElementContentTemplate
696
static
DataTemplate
DefaultContentTemplate
706
DataTemplate
FormattingAccessTextContentTemplate
710
DataTemplate
template = AccessTextFormattingTemplateField.GetValue(this);
729
DataTemplate
FormattingStringContentTemplate
733
DataTemplate
template = StringFormattingTemplateField.GetValue(this);
752
DataTemplate
FormattingXmlNodeContentTemplate
756
DataTemplate
template = XMLFormattingTemplateField.GetValue(this);
783
typeof(
DataTemplate
),
786
(
DataTemplate
) null, // default value
794
private
DataTemplate
Template
803
OnTemplateChanged((
DataTemplate
)oldTemplate, (
DataTemplate
)newTemplate);
822
protected virtual void OnTemplateChanged(
DataTemplate
oldTemplate,
DataTemplate
newTemplate)
835
DataTemplate
oldTemplate = Template;
836
DataTemplate
newTemplate = null;
888
DataTemplate
SelectTemplateForString(string s)
890
DataTemplate
template;
916
DataTemplate
template;
936
DataTemplate
SelectTemplateForXML()
1162
public override
DataTemplate
SelectTemplate(object item, DependencyObject container)
1164
DataTemplate
template = null;
1169
template = (
DataTemplate
)FrameworkElement.FindTemplateResourceInternal(container, item, typeof(
DataTemplate
));
1204
private
DataTemplate
_templateCache;
1210
private static
DataTemplate
s_AccessTextTemplate;
1211
private static
DataTemplate
s_StringTemplate;
1212
private static
DataTemplate
s_XmlNodeTemplate;
1213
private static
DataTemplate
s_UIElementTemplate;
1214
private static
DataTemplate
s_DefaultTemplate;
1216
private static readonly UncommonField<
DataTemplate
> XMLFormattingTemplateField = new UncommonField<
DataTemplate
>();
1217
private static readonly UncommonField<
DataTemplate
> StringFormattingTemplateField = new UncommonField<
DataTemplate
>();
1218
private static readonly UncommonField<
DataTemplate
> AccessTextFormattingTemplateField = new UncommonField<
DataTemplate
>();
src\Framework\System\Windows\Controls\DataGrid.cs (6)
1430
public
DataTemplate
RowHeaderTemplate
1432
get { return (
DataTemplate
)GetValue(RowHeaderTemplateProperty); }
1440
DependencyProperty.Register("RowHeaderTemplate", typeof(
DataTemplate
), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged)));
3925
public
DataTemplate
RowDetailsTemplate
3927
get { return (
DataTemplate
)GetValue(RowDetailsTemplateProperty); }
3935
DependencyProperty.Register("RowDetailsTemplate", typeof(
DataTemplate
), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged));
src\Framework\System\Windows\Controls\DataGridColumn.cs (3)
84
public
DataTemplate
HeaderTemplate
86
get { return (
DataTemplate
)GetValue(HeaderTemplateProperty); }
94
DependencyProperty.Register("HeaderTemplate", typeof(
DataTemplate
), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged));
src\Framework\System\Windows\Controls\DataGridRow.cs (6)
311
public
DataTemplate
HeaderTemplate
313
get { return (
DataTemplate
)GetValue(HeaderTemplateProperty); }
321
DependencyProperty.Register("HeaderTemplate", typeof(
DataTemplate
), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplate));
360
public
DataTemplate
DetailsTemplate
362
get { return (
DataTemplate
)GetValue(DetailsTemplateProperty); }
370
DependencyProperty.Register("DetailsTemplate", typeof(
DataTemplate
), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplate));
src\Framework\System\Windows\Controls\DataGridTemplateColumn.cs (8)
61
public
DataTemplate
CellTemplate
63
get { return (
DataTemplate
)GetValue(CellTemplateProperty); }
72
typeof(
DataTemplate
),
98
public
DataTemplate
CellEditingTemplate
100
get { return (
DataTemplate
)GetValue(CellEditingTemplateProperty); }
109
typeof(
DataTemplate
),
137
private void ChooseCellTemplateAndSelector(bool isEditing, out
DataTemplate
template, out DataTemplateSelector templateSelector)
167
DataTemplate
template;
src\Framework\System\Windows\Controls\DataTemplateSelector.cs (2)
30
/// Override this method to return an app specific <seealso cref="
DataTemplate
"/>.
35
public virtual
DataTemplate
SelectTemplate(object item, DependencyObject container)
src\Framework\System\Windows\Controls\GridView.cs (3)
274
typeof(
DataTemplate
),
284
public
DataTemplate
ColumnHeaderTemplate
286
get { return (
DataTemplate
)GetValue(ColumnHeaderTemplateProperty); }
src\Framework\System\Windows\Controls\GridViewColumn.cs (6)
169
typeof(
DataTemplate
),
178
public
DataTemplate
HeaderTemplate
180
get { return (
DataTemplate
)GetValue(HeaderTemplateProperty); }
320
typeof(
DataTemplate
),
329
public
DataTemplate
CellTemplate
331
get { return (
DataTemplate
)GetValue(CellTemplateProperty); }
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
88
public
DataTemplate
ColumnHeaderTemplate
90
get { return (
DataTemplate
)GetValue(ColumnHeaderTemplateProperty); }
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (2)
335
DataTemplate
dt;
604
DataTemplate
dt;
src\Framework\System\Windows\Controls\GroupStyle.cs (2)
139
public
DataTemplate
HeaderTemplate
229
DataTemplate
_headerTemplate;
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (9)
139
typeof(
DataTemplate
),
142
(
DataTemplate
) null,
149
public
DataTemplate
HeaderTemplate
151
get { return (
DataTemplate
) GetValue(HeaderTemplateProperty); }
161
ctrl.OnHeaderTemplateChanged((
DataTemplate
) e.OldValue, (
DataTemplate
) e.NewValue);
169
protected virtual void OnHeaderTemplateChanged(
DataTemplate
oldHeaderTemplate,
DataTemplate
newHeaderTemplate)
327
DataTemplate
itemTemplate,
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (11)
130
(
DataTemplate
) null,
137
public
DataTemplate
HeaderTemplate
139
get { return (
DataTemplate
) GetValue(HeaderTemplateProperty); }
149
ctrl.OnHeaderTemplateChanged((
DataTemplate
) e.OldValue, (
DataTemplate
) e.NewValue);
157
protected virtual void OnHeaderTemplateChanged(
DataTemplate
oldHeaderTemplate,
DataTemplate
newHeaderTemplate)
278
DataTemplate
itemTemplate = parentItemsControl.ItemTemplate;
404
DataTemplate
headerTemplate = HeaderTemplate;
416
headerTemplate = (
DataTemplate
)FindTemplateResourceInternal(this, item, typeof(
DataTemplate
));
src\Framework\System\Windows\Controls\ItemContainerTemplateSelector.cs (3)
24
public virtual
DataTemplate
SelectTemplate(object item, ItemsControl parentItemsControl)
32
public override
DataTemplate
SelectTemplate(object item, ItemsControl parentItemsControl)
35
return FrameworkElement.FindTemplateResourceInternal(parentItemsControl, item, typeof(ItemContainerTemplate)) as
DataTemplate
;
src\Framework\System\Windows\Controls\ItemsControl.cs (9)
460
typeof(
DataTemplate
),
463
(
DataTemplate
) null,
470
public
DataTemplate
ItemTemplate
472
get { return (
DataTemplate
) GetValue(ItemTemplateProperty); }
483
((ItemsControl) d).OnItemTemplateChanged((
DataTemplate
) e.OldValue, (
DataTemplate
) e.NewValue);
491
protected virtual void OnItemTemplateChanged(
DataTemplate
oldItemTemplate,
DataTemplate
newItemTemplate)
1758
DataTemplate
itemTemplate = parentItemsControl.ItemTemplate;
src\Framework\System\Windows\Controls\MenuItem.cs (1)
2157
DataTemplate
itemContainerTemplate = ItemContainerTemplateSelector.SelectTemplate(currentItem, this);
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (3)
22
[TemplatePart(Name = CalendarItem.ElementDayTitleTemplate, Type = typeof(
DataTemplate
))]
51
private
DataTemplate
_dayTitleTemplate;
183
_dayTitleTemplate = Template.Resources[DayTitleTemplateResourceKey] as
DataTemplate
;
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (1)
508
DataTemplate
itemContainerTemplate = ItemContainerTemplateSelector.SelectTemplate(currentItem, this);
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (1)
118
DataTemplate
itemContainerTemplate = ItemContainerTemplateSelector.SelectTemplate(currentItem, this);
src\Framework\System\Windows\Controls\TabControl.cs (8)
143
private static readonly DependencyPropertyKey SelectedContentTemplatePropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplate", typeof(
DataTemplate
), typeof(TabControl), new FrameworkPropertyMetadata((
DataTemplate
)null));
160
public
DataTemplate
SelectedContentTemplate
164
return (
DataTemplate
)GetValue(SelectedContentTemplateProperty);
229
public static readonly DependencyProperty ContentTemplateProperty = DependencyProperty.Register("ContentTemplate", typeof(
DataTemplate
), typeof(TabControl), new FrameworkPropertyMetadata((
DataTemplate
)null));
237
public
DataTemplate
ContentTemplate
241
return (
DataTemplate
)GetValue(ContentTemplateProperty);
src\Framework\System\Windows\Controls\TabItem.cs (2)
404
protected override void OnContentTemplateChanged(
DataTemplate
oldContentTemplate,
DataTemplate
newContentTemplate)
src\Framework\System\Windows\FrameworkElement.cs (1)
1447
else if (templateType == typeof(
DataTemplate
))
src\Framework\System\Windows\HierarchicalDataTemplate.cs (2)
77
public
DataTemplate
ItemTemplate
238
private
DataTemplate
_itemTemplate;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
212
case 120: t = () => typeof(
DataTemplate
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (14)
4345
Type type = typeof(System.Windows.
DataTemplate
);
4347
this.GetXamlType(typeof(System.Windows.
DataTemplate
)), // DeclaringType
4353
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.
DataTemplate
)target).VisualTree = (System.Windows.FrameworkElementFactory)value; };
4354
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
DataTemplate
)target).VisualTree; };
6262
Type type = typeof(System.Windows.
DataTemplate
);
6264
this.GetXamlType(typeof(System.Windows.
DataTemplate
)), // DeclaringType
6270
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
DataTemplate
)target).Triggers; };
6279
Type type = typeof(System.Windows.
DataTemplate
);
6281
this.GetXamlType(typeof(System.Windows.
DataTemplate
)), // DeclaringType
6289
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
DataTemplate
)target).DataTemplateKey; };
8017
Type type = typeof(System.Windows.
DataTemplate
);
8019
this.GetXamlType(typeof(System.Windows.
DataTemplate
)), // DeclaringType
8028
bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.
DataTemplate
)target).DataType = (System.Object)value; };
8029
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.
DataTemplate
)target).DataType; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3146
typeof(System.Windows.
DataTemplate
),
src\Framework\System\Windows\Markup\DependencyPropertyConverter.cs (1)
203
XamlType dataTemplateXType = schemaContext.GetXamlType(typeof(
DataTemplate
));
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5664
case KnownElements.DataTemplate: t = typeof(System.Windows.
DataTemplate
); break;
System.Activities.Core.Presentation (12)
System\Activities\Core\Presentation\FlowSwitchLinkCasePropertyEditor.cs (1)
17
this.InlineEditorTemplate = (
DataTemplate
)EditorCategoryTemplateDictionary.Instance.GetCategoryTemplate("FlowSwitchLinkCase_InlineEditorTemplate");
System\Activities\Core\Presentation\ReorderableListEditor.xaml.cs (3)
17
public static readonly DependencyProperty ItemTemplateProperty = DependencyProperty.Register("ItemTemplate", typeof(
DataTemplate
), typeof(ReorderableListEditor), new PropertyMetadata(null));
26
public
DataTemplate
ItemTemplate
28
get { return (
DataTemplate
)this.GetValue(ItemTemplateProperty); }
System\Activities\Core\Presentation\Themes\EditorCategoryTemplateDictionary.xaml.cs (4)
31
public
DataTemplate
GetCategoryTemplate(string templateName)
33
DataTemplate
result = null;
36
if (!(this[templateName] is
DataTemplate
))
40
result = this[templateName] as
DataTemplate
;
System\Activities\Presentation\DynamicArgumentDesigner.xaml.cs (1)
324
directionCol.CellEditingTemplate = (
DataTemplate
)this.WPF_DataGrid.FindResource("argumentDirectionEditingTemplate");
System\ServiceModel\Activities\Presentation\CorrelatesOnValueEditor.cs (1)
67
var
template = EditorCategoryTemplateDictionary.Instance.GetCategoryTemplate("CorrelatesOnDesigner_DialogTemplate");
System\ServiceModel\Activities\Presentation\ReceiveContentPropertyEditor.cs (1)
16
this.InlineEditorTemplate = (
DataTemplate
)MessagingContentPropertyEditorResources.GetResources()["ReceiveContentPresenter_InlineEditorTemplate"];
System\ServiceModel\Activities\Presentation\SendContentPropertyEditor.cs (1)
16
this.InlineEditorTemplate = (
DataTemplate
)MessagingContentPropertyEditorResources.GetResources()["SendContentPresenter_InlineEditorTemplate"];
System.Activities.Presentation (107)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\BoolViewEditor.cs (1)
17
base(PropertyInspectorResources.GetResources()["BoolViewTemplate"] as
DataTemplate
) { }
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\quickitemtemplateselector.cs (5)
25
private
DataTemplate
_popupTemplate;
26
private
DataTemplate
_inlineTemplate;
28
public
DataTemplate
PopupTemplate
36
public
DataTemplate
InlineTemplate
44
public override
DataTemplate
SelectTemplate(object item, DependencyObject container)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\SubPropertyViewEditor.cs (2)
26
PropertyInspectorResources.GetResources()["MarkerSubPropertyTemplate"] as
DataTemplate
,
27
PropertyInspectorResources.GetResources()["MarkerSubPropertyTemplate"] as
DataTemplate
)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (3)
52
public static readonly DependencyProperty ItemTemplateProperty = DependencyProperty.Register("ItemTemplate", typeof(
DataTemplate
), typeof(ChoiceEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(ChoiceEditor.ItemTemplateChanged)));
207
public
DataTemplate
ItemTemplate
209
get { return (
DataTemplate
)this.GetValue(ChoiceEditor.ItemTemplateProperty); }
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogControl.xaml.cs (1)
39
public PropertyValueDialogControl(PropertyEntry property,
DataTemplate
valueDialogTemplate)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogHost.cs (3)
62
DataTemplate
dialogEditorTemplate = GetDialogEditorTemplate(GetParentProperty(e.OriginalSource));
87
DataTemplate
dialogEditorTemplate = GetDialogEditorTemplate(parentProperty);
159
private static
DataTemplate
GetDialogEditorTemplate(PropertyEntry property)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\CategoryEditor.cs (1)
37
public abstract
DataTemplate
EditorTemplate { get; }
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\DialogPropertyValueEditor.cs (6)
16
private
DataTemplate
_dialogEditorTemplate;
31
public DialogPropertyValueEditor(
DataTemplate
dialogEditorTemplate,
DataTemplate
inlineEditorTemplate)
41
public
DataTemplate
DialogEditorTemplate
61
internal override
DataTemplate
GetPropertyValueEditor(PropertyContainerEditMode mode) {
63
(mode == PropertyContainerEditMode.Dialog ? _dialogEditorTemplate : (
DataTemplate
)null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\ExtendedPropertyValueEditor.cs (6)
13
private
DataTemplate
_extendedEditorTemplate;
29
public ExtendedPropertyValueEditor(
DataTemplate
extendedEditorTemplate,
DataTemplate
inlineEditorTemplate)
39
public
DataTemplate
ExtendedEditorTemplate
45
internal override
DataTemplate
GetPropertyValueEditor(PropertyContainerEditMode mode) {
48
mode == PropertyContainerEditMode.ExtendedPopup) ? _extendedEditorTemplate : (
DataTemplate
)null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (7)
35
DataTemplate
flagEditorTemplate;
466
public
DataTemplate
InlineEditorTemplate
482
public
DataTemplate
ExtendedEditorTemplate
499
public
DataTemplate
DialogEditorTemplate
626
private
DataTemplate
FindPropertyValueEditorTemplate(PropertyContainerEditMode editMode)
630
DataTemplate
requestedTemplate = null;
685
DataTemplate
GetFlagEditorTemplate(PropertyContainerEditMode editMode)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditor.cs (4)
17
private
DataTemplate
_inlineEditorTemplate;
30
public PropertyValueEditor(
DataTemplate
inlineEditorTemplate) {
39
public
DataTemplate
InlineEditorTemplate
45
internal virtual
DataTemplate
GetPropertyValueEditor(PropertyContainerEditMode mode) {
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
729
static
DataTemplate
dynamicExpressionTemplate;
732
static
DataTemplate
DynamicExpressionTemplate
System.Activities.Presentation\System\Activities\Presentation\ErrorReporting.cs (1)
141
ContentTemplate = (
DataTemplate
)EditorResources.GetResources()["ErrorPresenterDialogTemplate"],
System.Activities.Presentation\System\Activities\Presentation\PropertyEditing\VersionPropertyValueEditor.cs (1)
16
this.InlineEditorTemplate = EditorResources.GetResources()["VersionPropertyValueEditorTemplate"] as
DataTemplate
;
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxControl.cs (6)
60
typeof(
DataTemplate
),
66
typeof(
DataTemplate
),
171
public
DataTemplate
ToolTemplate
173
get { return (
DataTemplate
)GetValue(ToolTemplateProperty); }
178
public
DataTemplate
CategoryTemplate
180
get { return (
DataTemplate
)GetValue(CategoryTemplateProperty); }
System.Activities.Presentation\System\Activities\Presentation\Toolbox\TreeViewTemplateSelector.cs (2)
22
public override
DataTemplate
SelectTemplate(object item, DependencyObject container)
24
DataTemplate
result = base.SelectTemplate(item, container);
System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (6)
446
resolveParams.Template = (
DataTemplate
)this.FindResource(key);
1515
this.InlineEditorTemplate = EditorResources.GetResources()["DirectionEditor_InlineEditorTemplate"] as
DataTemplate
;
1523
this.InlineEditorTemplate = EditorResources.GetResources()["inlineExpressionEditorTemplateForDesignTimeArgument"] as
DataTemplate
;
1531
this.InlineEditorTemplate = EditorResources.GetResources()["IsRequiredPropertyEditor_InlineEditorTemplate"] as
DataTemplate
;
1539
this.InlineEditorTemplate = EditorResources.GetResources()["inlineExpressionEditorTemplateForDesignTimeArgument_ValueNotSupported"] as
DataTemplate
;
1547
this.InlineEditorTemplate = EditorResources.GetResources()["inlineExpressionEditorTemplateForDesignTimeArgument_InvalidXamlMember"] as
DataTemplate
;
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (12)
66
static
DataTemplate
dynamicCellContentTemplate;
465
if (this.AddNewRowContent is
DataTemplate
)
467
presenter.ContentTemplate = (
DataTemplate
)this.AddNewRowContent;
472
presenter.ContentTemplate = (
DataTemplate
)this.FindResource("defaultAddNewRowTemplate");
795
.Where(p =>
DataTemplate
.Equals(p.CellEditingTemplate, DataGridHelper.DynamicCellContentTemplate) &&
796
DataTemplate
.Equals(p.CellTemplate, DataGridHelper.DynamicCellContentTemplate))
912
container.ContentTemplate = (
DataTemplate
)dataGrid.Resources["dynamicContentErrorTemplate"];
929
public static
DataTemplate
DynamicCellContentTemplate
935
DataTemplate
template = new DataTemplate();
1496
public
DataTemplate
Template { get; set; }
1502
DataTemplate
toolTipTemplate;
1507
this.toolTipTemplate = (
DataTemplate
)this.owner.FindResource("errorToolTipTemplate");
System.Activities.Presentation\System\Activities\Presentation\View\DesignerWithHeader.cs (3)
17
DependencyProperty.Register("Header", typeof(
DataTemplate
), typeof(DesignerWithHeader), new UIPropertyMetadata(null));
18
public
DataTemplate
Header
20
get { return (
DataTemplate
)GetValue(HeaderProperty); }
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (4)
354
DataTemplate
designModeTemplate = this.FindResource("designModelTemplate") as
DataTemplate
;
388
this.ContentTemplate = this.FindResource("disabledInlineEditingTemplate") as
DataTemplate
;
409
this.ContentTemplate = this.FindResource("unsupportedEditorTemplate") as
DataTemplate
;
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (4)
22
this.InlineEditorTemplate = EditorResources.GetResources()["inlineExpressionEditorTemplate"] as
DataTemplate
;
39
protected virtual
DataTemplate
DialogTemplate
41
get { return (
DataTemplate
)EditorResources.GetResources()["dialogExpressionEditorTemplate"]; }
51
public EditorDialog(DependencyObject owner, PropertyValue propertyValue, EditingContext context,
DataTemplate
dialogTemplate, string title)
System.Activities.Presentation\System\Activities\Presentation\View\HandleValueEditor.cs (1)
14
this.InlineEditorTemplate = (
DataTemplate
)EditorResources.GetResources()["handleValueEditor"];
System.Activities.Presentation\System\Activities\Presentation\View\TypePropertyEditor.cs (1)
19
this.InlineEditorTemplate = (
DataTemplate
)EditorResources.GetResources()["TypeBrowser_InlineEditorTemplate"];
System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (2)
527
resolveParams.Template = (
DataTemplate
)this.FindResource(key);
1453
this.InlineEditorTemplate = EditorResources.GetResources()["ScopeEditor_InlineEditorTemplate"] as
DataTemplate
;
System.Activities.Presentation\System\Activities\Presentation\View\VBIdentifierNameEditor.cs (1)
15
this.InlineEditorTemplate = (
DataTemplate
)EditorResources.GetResources()["VBIdentifierNameEditorTemplate"];
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (9)
124
this.ContentTemplate = (
DataTemplate
)FindResource("textblock");
261
if (!this.ContentTemplate.Equals((
DataTemplate
)FindResource("textblock")))
263
this.ContentTemplate = (
DataTemplate
)FindResource("textblock");
332
if (!this.ContentTemplate.Equals((
DataTemplate
)FindResource("textblock")))
334
this.ContentTemplate = (
DataTemplate
)FindResource("textblock");
441
if (this.ContentTemplate.Equals((
DataTemplate
)FindResource("textblock")) && !isInReadOnlyMode)
453
this.ContentTemplate = (
DataTemplate
)FindResource("editor");
457
this.ContentTemplate = (
DataTemplate
)FindResource("textbox");
585
this.ContentTemplate = (
DataTemplate
)FindResource("textbox");
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (4)
1139
private static
DataTemplate
defaultSpacerTemplate = CreateDefaultSpacerTemplate();
1141
private static
DataTemplate
SpacerTemplate
1146
private static
DataTemplate
CreateDefaultSpacerTemplate()
1149
DataTemplate
dt = new DataTemplate() { VisualTree = feFactory };
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (9)
41
DependencyProperty.Register("SpacerTemplate", typeof(
DataTemplate
), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(null));
44
DependencyProperty.Register("HeaderTemplate", typeof(
DataTemplate
), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(null));
47
DependencyProperty.Register("FooterTemplate", typeof(
DataTemplate
), typeof(WorkflowItemsPresenter), new UIPropertyMetadata(null));
125
public
DataTemplate
SpacerTemplate
127
get { return (
DataTemplate
)GetValue(SpacerTemplateProperty); }
132
public
DataTemplate
HeaderTemplate
134
get { return (
DataTemplate
)GetValue(HeaderTemplateProperty); }
139
public
DataTemplate
FooterTemplate
141
get { return (
DataTemplate
)GetValue(FooterTemplateProperty); }