1 type derived from Separator
PresentationFramework (1)
src\Framework\System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
18
internal class DataGridColumnDropSeparator :
Separator
14 instantiations of Separator
PresentationFramework (14)
src\Framework\MS\Internal\Documents\DocumentGridContextMenu.cs (1)
227
this.Items.Add(new
Separator
());
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1144
Separator indicator = new
Separator
();
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (9)
850
verticalContextMenu.Items.Add(new
Separator
());
853
verticalContextMenu.Items.Add(new
Separator
());
856
verticalContextMenu.Items.Add(new
Separator
());
870
horizontalContextMenuLeftToRight.Items.Add(new
Separator
());
873
horizontalContextMenuLeftToRight.Items.Add(new
Separator
());
876
horizontalContextMenuLeftToRight.Items.Add(new
Separator
());
890
horizontalContextMenuRightToLeft.Items.Add(new
Separator
());
893
horizontalContextMenuRightToLeft.Items.Add(new
Separator
());
896
horizontalContextMenuRightToLeft.Items.Add(new
Separator
());
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
499
this.Items.Add(new
Separator
());
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8814
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.
Separator
(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1526
case KnownElements.Separator: o = new System.Windows.Controls.
Separator
(); break;
42 references to Separator
PresentationFramework (40)
src\Framework\System\Windows\Automation\Peers\SeparatorAutomationPeer.cs (1)
24
public SeparatorAutomationPeer(
Separator
owner): base(owner)
src\Framework\System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (3)
48
if (obj is
Separator
)
50
Separator
separator = obj as
Separator
;
src\Framework\System\Windows\Controls\ComboBox.cs (2)
1054
if (item is
Separator
)
1055
Separator
.PrepareContainer(element as Control);
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
1144
Separator
indicator = new Separator();
1165
ControlTemplate template = new ControlTemplate(typeof(
Separator
));
1650
private
Separator
_indicator;
src\Framework\System\Windows\Controls\ListBox.cs (2)
246
if (item is
Separator
)
247
Separator
.PrepareContainer(element as Control);
src\Framework\System\Windows\Controls\Menu.cs (1)
382
if (menuItem != null && !(Items[i] is
Separator
))
src\Framework\System\Windows\Controls\MenuItem.cs (6)
1330
Separator
separator = item as
Separator
;
2125
bool ret = (item is MenuItem) || (item is
Separator
);
2139
if (item is
Separator
)
2161
if (itemContainer is MenuItem || itemContainer is
Separator
)
2167
throw new InvalidOperationException(SR.Get(SRID.InvalidItemContainer, this.GetType().Name, typeof(MenuItem).Name, typeof(
Separator
).Name, itemContainer));
src\Framework\System\Windows\Controls\Primitives\MenuBase.cs (3)
492
bool ret = (item is MenuItem) || (item is
Separator
);
512
if (itemContainer is MenuItem || itemContainer is
Separator
)
518
throw new InvalidOperationException(SR.Get(SRID.InvalidItemContainer, this.GetType().Name, typeof(MenuItem).Name, typeof(
Separator
).Name, itemContainer));
src\Framework\System\Windows\Controls\Primitives\Selector.cs (1)
1879
return !(item is
Separator
);
src\Framework\System\Windows\Controls\Primitives\StatusBar.cs (6)
102
bool ret = (item is StatusBarItem) || (item is
Separator
);
122
if (itemContainer is StatusBarItem || itemContainer is
Separator
)
128
throw new InvalidOperationException(SR.Get(SRID.InvalidItemContainer, this.GetType().Name, typeof(StatusBarItem).Name, typeof(
Separator
).Name, itemContainer));
143
Separator
separator = element as
Separator
;
160
if (item is
Separator
)
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
86
if ((child != null) && ToolBar.GetIsOverflowItem(child) && !(child is
Separator
))
src\Framework\System\Windows\Controls\Separator.cs (4)
22
DefaultStyleKeyProperty.OverrideMetadata(typeof(
Separator
), new FrameworkPropertyMetadata(typeof(
Separator
)));
23
_dType = DependencyObjectType.FromSystemTypeInternal(typeof(
Separator
));
25
IsEnabledProperty.OverrideMetadata(typeof(
Separator
), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
src\Framework\System\Windows\Controls\StickyNote.cs (3)
1725
Separator
clipboardSeparator = GetClipboardSeparator();
1891
private
Separator
GetClipboardSeparator()
1893
return GetTemplateChild(SNBConstants.c_ClipboardSeparatorId) as
Separator
;
src\Framework\System\Windows\Controls\ToolBar.cs (1)
492
else if (feType == typeof(
Separator
))
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
646
case 554: t = () => typeof(
Separator
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8812
typeof(System.Windows.Controls.
Separator
),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6098
case KnownElements.Separator: t = typeof(System.Windows.Controls.
Separator
); break;
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (2)
554
Action<
Separator
> action = (separator) =>
1753
else if (item is
Separator
&& null != this.owner.MenuSeparatorStyle)