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