67 references to PropertyContainerEditMode
System.Activities.Presentation (67)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\EditModeSwitchButtonKeyboardFix.cs (4)
133
case
PropertyContainerEditMode
.Inline:
136
case
PropertyContainerEditMode
.ExtendedPopup:
139
case
PropertyContainerEditMode
.ExtendedPinned:
142
case
PropertyContainerEditMode
.Dialog:
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\PropertyContainerPopupHelper.cs (2)
50
if (owningPropertyContainer != null && owningPropertyContainer.ActiveEditMode ==
PropertyContainerEditMode
.ExtendedPopup)
62
owningPropertyContainer.ActiveEditMode =
PropertyContainerEditMode
.Inline;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueEditorCommandHandler.cs (5)
100
SwitchActiveEditMode(e,
PropertyContainerEditMode
.Inline);
105
SwitchActiveEditMode(e,
PropertyContainerEditMode
.ExtendedPopup);
110
SwitchActiveEditMode(e,
PropertyContainerEditMode
.ExtendedPinned);
115
SwitchActiveEditMode(e,
PropertyContainerEditMode
.Dialog);
118
private static void SwitchActiveEditMode(ExecutedRoutedEventArgs e,
PropertyContainerEditMode
newMode)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\State\PropertyActiveEditModeStateContainer.cs (5)
31
public
PropertyContainerEditMode
GetActiveEditMode(PropertyEntry property)
34
PropertyContainerEditMode
.ExtendedPinned :
35
PropertyContainerEditMode
.Inline;
43
public void StoreActiveEditMode(PropertyEntry property,
PropertyContainerEditMode
editMode)
50
if (editMode ==
PropertyContainerEditMode
.ExtendedPinned)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\DialogPropertyValueEditor.cs (2)
61
internal override DataTemplate GetPropertyValueEditor(
PropertyContainerEditMode
mode) {
63
(mode ==
PropertyContainerEditMode
.Dialog ? _dialogEditorTemplate : (DataTemplate)null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (21)
44
typeof(
PropertyContainerEditMode
),
47
PropertyContainerEditMode
.Inline,
55
public
PropertyContainerEditMode
TargetEditMode {
56
get { return (
PropertyContainerEditMode
) this.GetValue(TargetEditModeProperty); }
72
PropertyContainerEditMode
newMode;
76
case
PropertyContainerEditMode
.Inline:
79
if (owningContainer.SupportsEditMode(
PropertyContainerEditMode
.Dialog))
80
newMode =
PropertyContainerEditMode
.Dialog;
81
else if (owningContainer.SupportsEditMode(
PropertyContainerEditMode
.ExtendedPopup))
82
newMode =
PropertyContainerEditMode
.ExtendedPopup;
84
newMode =
PropertyContainerEditMode
.Inline;
88
case
PropertyContainerEditMode
.ExtendedPopup:
90
newMode =
PropertyContainerEditMode
.ExtendedPinned;
93
case
PropertyContainerEditMode
.ExtendedPinned:
95
newMode =
PropertyContainerEditMode
.Inline;
98
case
PropertyContainerEditMode
.Dialog:
108
newMode = (
PropertyContainerEditMode
) value;
225
case
PropertyContainerEditMode
.Inline:
228
case
PropertyContainerEditMode
.ExtendedPopup:
231
case
PropertyContainerEditMode
.ExtendedPinned:
234
case
PropertyContainerEditMode
.Dialog:
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\ExtendedPropertyValueEditor.cs (3)
45
internal override DataTemplate GetPropertyValueEditor(
PropertyContainerEditMode
mode) {
47
((mode ==
PropertyContainerEditMode
.ExtendedPinned ||
48
mode ==
PropertyContainerEditMode
.ExtendedPopup) ? _extendedEditorTemplate : (DataTemplate)null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyContainer.cs (23)
115
theThis.ActiveEditMode =
PropertyContainerEditMode
.Inline;
142
typeof(
PropertyContainerEditMode
),
145
PropertyContainerEditMode
.Inline,
152
public
PropertyContainerEditMode
ActiveEditMode
154
get { return (
PropertyContainerEditMode
)this.GetValue(PropertyContainer.ActiveEditModeProperty); }
166
if (object.Equals(e.NewValue,
PropertyContainerEditMode
.Dialog))
190
theThis.ActiveEditMode = (
PropertyContainerEditMode
)e.OldValue;
307
theThis.ActiveEditMode ==
PropertyContainerEditMode
.Inline);
312
theThis.ActiveEditMode ==
PropertyContainerEditMode
.ExtendedPopup);
317
theThis.ActiveEditMode ==
PropertyContainerEditMode
.ExtendedPinned);
470
return FindPropertyValueEditorTemplate(
PropertyContainerEditMode
.Inline);
486
return FindPropertyValueEditorTemplate(
PropertyContainerEditMode
.ExtendedPinned);
503
return FindPropertyValueEditorTemplate(
PropertyContainerEditMode
.Dialog);
548
internal bool SupportsEditMode(
PropertyContainerEditMode
mode)
551
if (mode ==
PropertyContainerEditMode
.Dialog)
626
private DataTemplate FindPropertyValueEditorTemplate(
PropertyContainerEditMode
editMode)
685
DataTemplate GetFlagEditorTemplate(
PropertyContainerEditMode
editMode)
688
if (editMode ==
PropertyContainerEditMode
.Inline)
743
PropertyContainerEditMode
editMode = container.ActiveEditMode;
748
case
PropertyContainerEditMode
.Inline:
751
case
PropertyContainerEditMode
.ExtendedPopup:
754
case
PropertyContainerEditMode
.ExtendedPinned:
757
case
PropertyContainerEditMode
.Dialog:
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\PropertyValueEditor.cs (2)
45
internal virtual DataTemplate GetPropertyValueEditor(
PropertyContainerEditMode
mode) {
46
return (mode ==
PropertyContainerEditMode
.Inline) ? _inlineEditorTemplate : null;