3 overrides of ItemType
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemCollectionImpl.cs (1)
112
public override Type
ItemType
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
273
public override Type
ItemType
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
93
public override Type
ItemType
128 references to ItemType
System.Data (128)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegatePresenter.cs (1)
132
ActivityDelegateMetadata metadata = ActivityDelegateUtilities.GetMetadata(this.ActivityDelegate.
ItemType
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDelegateUtilities.cs (1)
68
foreach (PropertyInfo property in GetPropertiesByHeuristics(activity.
ItemType
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (3)
278
string iconKey = this.ModelItem.
ItemType
.IsGenericType ? this.ModelItem.
ItemType
.GetGenericTypeDefinition().Name : this.ModelItem.
ItemType
.Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationManager.cs (2)
426
this.helpService.AddContextAttribute(string.Empty, WorkflowViewManager.GetF1HelpTypeKeyword(this.ModelItem.
ItemType
), ComponentModel.Design.HelpKeywordType.F1Keyword);
434
this.helpService.RemoveContextAttribute(string.Empty, WorkflowViewManager.GetF1HelpTypeKeyword(this.ModelItem.
ItemType
));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (3)
149
if (property.Parent.
ItemType
.IsGenericType)
151
Type genericType = property.Parent.
ItemType
.GetGenericTypeDefinition();
616
Type valueType = valueItem.
ItemType
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (1)
520
if (typeof(System.Windows.Controls.TextBlock).IsAssignableFrom(_properties[0].Parent.
ItemType
)) {
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyIndexer.cs (2)
136
return _modelItem.
ItemType
;
194
return _modelItem.
ItemType
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
76
string currentDefaultProperty = ExtensibilityAccessor.GetDefaultProperty(item.
ItemType
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelUtilities.cs (1)
76
if (resolveReferences && !(typeof(System.Windows.Controls.TextBlock).IsAssignableFrom(property.Parent.
ItemType
) &&
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (5)
268
return GetStringRepresentation(_displayedSelection.PrimarySelection.
ItemType
);
914
commonType = selectedItem.
ItemType
;
918
commonType = ModelUtilities.GetCommonAncestor(commonType, selectedItem.
ItemType
);
935
type = item.
ItemType
;
937
else if (type != item.
ItemType
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (1)
47
if (valueExpressionModelItem != null && typeof(ActivityWithResult).IsAssignableFrom(valueExpressionModelItem.
ItemType
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionModelItemConverter.cs (1)
56
if (valueExpressionModelItem != null && typeof(Activity).IsAssignableFrom(valueExpressionModelItem.
ItemType
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ModelPropertyEntryToOwnerActivityConverter.cs (1)
43
Type itemType = convertedValue.
ItemType
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\OutlineViewTextConverter.cs (3)
39
Fx.Assert(modelItem.
ItemType
!= null && modelItem.
ItemType
.Name != null, "ModelItem should always have a name");
40
displayName = TypeNameHelper.GetDisplayName(modelItem.
ItemType
, false);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
706
CanCopy(((WorkflowViewElement)item.View).ModelItem.
ItemType
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Debugger\DebuggerService.cs (3)
96
return (this.selectedModelItem != null && AllowBreakpointAttribute.IsBreakpointAllowed(this.selectedModelItem.
ItemType
)) ?
752
if (AllowBreakpointAttribute.IsBreakpointAllowed(key.
ItemType
) && !typeof(IValueSerializableExpression).IsAssignableFrom(key.
ItemType
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
289
types.Add(modelItem.
ItemType
);
298
types.Add(modelItem.
ItemType
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\AttachedPropertyDescriptor.cs (1)
43
get { return this.owner.
ItemType
; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\GenericArgumentsUpdater.cs (3)
43
Type oldModelItemType = modelItem.
ItemType
;
76
Fx.Assert(modelItem.
ItemType
.GetGenericArguments().Count() == 1, "we only support changing a single type parameter ?");
77
return modelItem.
ItemType
.GetGenericArguments()[0];
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
77
Type itemsCollectionType = ItemsCollectionModelItemCollection.
ItemType
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (6)
50
while (item != null && !parentType.IsAssignableFrom(item.
ItemType
))
54
if (null != item && parentType.IsAssignableFrom(item.
ItemType
))
522
return typeof(T).IsAssignableFrom(item.
ItemType
);
762
var designerType = this.ViewService.GetDesignerType(p.
ItemType
);
902
Fx.Assert("Expand is in invalid state - we should never end up here. Item to focus: " + displayName + " (" + this.itemToFocus.
ItemType
.Name + ")");
990
Fx.Assert("OnFocusElement is in invalid state - we should never get here. Item to focus: " + displayName + " (" + this.itemToFocus.
ItemType
.Name + ")");
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
501
Type itemType = valueModelitem.
ItemType
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (1)
102
var browsableAttachedProperties = from attachedProperty in AttachedPropertiesService.GetAttachedProperties(this.parent.
ItemType
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (2)
57
get { return this.itemProperty.Parent.
ItemType
; }
105
Type itemType = value.
ItemType
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (11)
229
return !(excludeExpression && modelItem != null && typeof(ITextExpression).IsAssignableFrom(modelItem.
ItemType
));
239
itemsToSearch = items.Where<ModelItem>(item => !ModelUtilities.IsModelItemKeyValuePair(item.
ItemType
)
245
(!ModelUtilities.IsModelItemKeyValuePair(item.
ItemType
) || ModelUtilities.IsSwitchCase(item))
257
Type type = item.
ItemType
;
401
if (candidateArgument.
ItemType
== typeof(DesignTimeArgument))
608
if (typeof(DynamicActivityProperty).IsAssignableFrom(modelItem.
ItemType
))
616
else if (typeof(Variable).IsAssignableFrom(modelItem.
ItemType
))
703
return !typeof(WorkflowService).IsAssignableFrom(item.
ItemType
)
704
&& !typeof(ActivityBuilder).IsAssignableFrom(item.
ItemType
);
769
if (typeof(ITextExpression).IsAssignableFrom(itemToFocus.
ItemType
))
774
Type designerType = viewService.GetDesignerType(itemToFocus.
ItemType
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelServiceImpl.cs (2)
40
return ModelTreeManager.Find(startingItem, delegate(ModelItem m) { return match(m.
ItemType
); }, false);
57
return type.IsAssignableFrom(modelItem.
ItemType
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (7)
403
|| (!typeof(WorkflowViewElement).IsAssignableFrom(viewService.GetDesignerType(currentModelItem.
ItemType
)))
443
if (typeof(Type).IsAssignableFrom(currentModelItem.
ItemType
))
877
if (typeof(Type).IsAssignableFrom(currentItem.
ItemType
))
882
if (currentItem.
ItemType
.IsGenericType && currentItem.
ItemType
.GetGenericTypeDefinition() == typeof(Action<>))
894
if (filter(currentItem.
ItemType
))
913
if (filter(currentItem.
ItemType
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelUtilities.cs (5)
18
if (IsModelItemKeyValuePair(modelItem.
ItemType
))
23
modelItem.Parent.Parent.Parent.
ItemType
.IsGenericType &&
24
modelItem.Parent.Parent.Parent.
ItemType
.GetGenericTypeDefinition() == typeof(System.Activities.Statements.Switch<>))
47
return new ModelTypeConverter(modelTreeManager, XamlUtilities.GetConverter(item.
ItemType
));
53
DefaultPropertyAttribute propAttr = TypeDescriptor.GetAttributes(item.
ItemType
)[typeof(DefaultPropertyAttribute)] as DefaultPropertyAttribute;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (3)
903
bool hasDesignerAttribute = this.ViewService.GetDesignerType(parent.
ItemType
) != null;
907
bool isModelItemKeyValuePair = parent.
ItemType
.IsGenericType &&
908
parent.
ItemType
.GetGenericTypeDefinition() == typeof(ModelItemKeyValuePair<,>);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeDesigner.xaml.cs (1)
112
Type propertyType = changeInfo.Subject.
ItemType
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (4)
194
if (null == current || !typeof(DesignTimeArgument).IsAssignableFrom(current.
ItemType
))
250
if (item.
ItemType
!= typeof(DesignTimeArgument))
1144
if (typeof(RequiredArgumentAttribute).IsAssignableFrom(item.
ItemType
))
1173
foreach (ModelItem toRemove in attributes.Where<ModelItem>(p => typeof(RequiredArgumentAttribute).IsAssignableFrom(p.
ItemType
)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\BreadCrumbTextConverter.cs (2)
31
breadCrumbText = boundModelItem.
ItemType
.Name;
42
if (typeof(string) == displayNameProperty.
ItemType
)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (4)
876
AllowBreakpointAttribute.IsBreakpointAllowed(this.FocusedViewElement.ModelItem.
ItemType
);
903
AllowBreakpointAttribute.IsBreakpointAllowed(this.FocusedViewElement.ModelItem.
ItemType
);
1096
string name = rootItem.
ItemType
.Name;
1217
typeof(ActivityBuilder).IsAssignableFrom(this.ActivitySchema.
ItemType
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (6)
453
return (typeof(WorkflowViewElement).IsAssignableFrom(viewService.GetDesignerType(current.
ItemType
)));
459
.Where<ModelItem>(item => !ModelUtilities.IsModelItemKeyValuePair(item.
ItemType
) || ModelUtilities.IsSwitchCase(item))
544
if (typeof(ActivityBuilder).IsAssignableFrom(modelItem.
ItemType
))
552
Type designerType = viewService.GetDesignerType(modelItem.
ItemType
);
557
designerType = viewService.GetDesignerType(modelItem.
ItemType
);
893
if (null != this.ActivitySchema && typeof(ActivityBuilder).IsAssignableFrom(this.ActivitySchema.
ItemType
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ModelPropertyPathExpanderConverter.cs (1)
32
while (convertedValue != null && !typeof(Activity).IsAssignableFrom(convertedValue.
ItemType
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (3)
278
DesignerAttribute attribute = WorkflowViewService.GetAttribute<DesignerAttribute>(modelItem.
ItemType
);
332
Type modelItemType = this.VisualValue.
ItemType
;
336
modelItemType = this.VisualValue.
ItemType
.GetGenericTypeDefinition();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (10)
275
if (null == current || !typeof(DesignTimeVariable).IsAssignableFrom(current.
ItemType
))
320
if (item.
ItemType
!= typeof(DesignTimeVariable))
766
Type elementType = element.
ItemType
;
901
if (!variableContainer.
ItemType
.IsGenericType ||
902
variableContainer.
ItemType
.GetGenericArguments().Length != 1 ||
903
!typeof(Variable).IsAssignableFrom(variableContainer.
ItemType
.GetGenericArguments()[0]))
917
if (!variableContainer.
ItemType
.IsGenericType ||
918
variableContainer.
ItemType
.GetGenericArguments().Length != 1 ||
919
!typeof(Variable).IsAssignableFrom(variableContainer.
ItemType
.GetGenericArguments()[0]))
1466
if (null != designTimeVariable && typeof(DesignTimeVariable).IsAssignableFrom(designTimeVariable.
ItemType
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (4)
63
Type viewType = viewService.GetDesignerType(item.
ItemType
);
69
ActivityDesignerOptionsAttribute options = WorkflowViewService.GetAttribute<ActivityDesignerOptionsAttribute>(modelItem.
ItemType
);
70
Type viewType = viewService.GetDesignerType(modelItem.
ItemType
);
173
return GetViewService(context).GetDesignerType(parent.
ItemType
);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewManager.cs (2)
146
helpService.RemoveContextAttribute(string.Empty, GetF1HelpTypeKeyword(oldSelection.PrimarySelection.
ItemType
));
151
helpService.AddContextAttribute(string.Empty, GetF1HelpTypeKeyword(newSelection.PrimarySelection.
ItemType
), HelpKeywordType.F1Keyword);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (5)
105
string errorText = string.Format(CultureInfo.CurrentCulture, SR.CouldNotGenerateView, modelItem.
ItemType
.Name);
170
Type designerType = GetDesignerType(modelItem.
ItemType
, true);
220
Type designerType = this.GetDesignerType(modelItem.
ItemType
);
225
ActivityDesignerOptionsAttribute options = WorkflowViewService.GetAttribute<ActivityDesignerOptionsAttribute>(modelItem.
ItemType
);
227
(typeof(ActivityDesigner) != designerType || ActivityDelegateUtilities.HasActivityDelegate(modelItem.
ItemType
)) &&
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Helpers.cs (1)
50
ViewManagerAttribute viewManagerAttribute = TypeDescriptor.GetAttributes(modelItem.
ItemType
)[typeof(ViewManagerAttribute)] as ViewManagerAttribute;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (5)
253
Fx.Assert(typeof(Sequence).IsAssignableFrom(this.Item.
ItemType
),
531
&& TypeUtilities.IsTypeCompatible(newModelItem.
ItemType
, this.AllowedItemType)
772
owner.Item.
ItemType
!= null &&
773
!string.IsNullOrEmpty(owner.Item.
ItemType
.Name))
775
return owner.Item.
ItemType
.Name;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
702
if (this.AllowedItemType.IsAssignableFrom(modelItem.
ItemType
))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
1106
itemType = this.owner.ModelItem.
ItemType
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Xaml\ActivityBuilderHelper.cs (3)
18
return modelItem.
ItemType
.IsAssignableFrom(typeof(ActivityBuilder));
31
if (!astAsModelItem.
ItemType
.IsAssignableFrom(typeof(ActivityBuilder)))
33
throw FxTrace.Exception.AsError(new InvalidCastException(astAsModelItem.
ItemType
.FullName));