2 types derived from Separator
PresentationFramework (1)
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
17internal class DataGridColumnDropSeparator : Separator
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
29public class RibbonSeparator : Separator
14 instantiations of Separator
PresentationFramework (14)
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
195this.Items.Add(new Separator());
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1141Separator indicator = new Separator();
System\Windows\Controls\Primitives\ScrollBar.cs (9)
845verticalContextMenu.Items.Add(new Separator()); 848verticalContextMenu.Items.Add(new Separator()); 851verticalContextMenu.Items.Add(new Separator()); 865horizontalContextMenuLeftToRight.Items.Add(new Separator()); 868horizontalContextMenuLeftToRight.Items.Add(new Separator()); 871horizontalContextMenuLeftToRight.Items.Add(new Separator()); 885horizontalContextMenuRightToLeft.Items.Add(new Separator()); 888horizontalContextMenuRightToLeft.Items.Add(new Separator()); 891horizontalContextMenuRightToLeft.Items.Add(new Separator());
System\windows\Documents\TextEditorContextMenu.cs (1)
473this.Items.Add(new Separator());
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8818bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Separator(); };
System\Windows\Markup\KnownTypes.cs (1)
1525case KnownElements.Separator: o = new System.Windows.Controls.Separator(); break;
43 references to Separator
Microsoft.VisualStudio.LanguageServices (2)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\PreviewPane\PreviewPane.g.cs (2)
142internal System.Windows.Controls.Separator HeaderSeparator; 262this.HeaderSeparator = ((System.Windows.Controls.Separator)(target));
PresentationFramework (41)
System\Windows\Automation\Peers\MenuItemAutomationPeer.cs (2)
107if (item is Separator) 143if (item is Separator)
System\Windows\Automation\Peers\SeparatorAutomationPeer.cs (1)
27public SeparatorAutomationPeer(Separator owner): base(owner)
System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (3)
51if (obj is Separator) 53Separator separator = obj as Separator;
System\Windows\Controls\ComboBox.cs (2)
1052if (item is Separator) 1053Separator.PrepareContainer(element as Control);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
1141Separator indicator = new Separator(); 1162ControlTemplate template = new ControlTemplate(typeof(Separator)); 1647private Separator _indicator;
System\Windows\Controls\ListBox.cs (2)
248if (item is Separator) 249Separator.PrepareContainer(element as Control);
System\Windows\Controls\Menu.cs (1)
356if (menuItem != null && !(Items[i] is Separator))
System\Windows\Controls\MenuItem.cs (6)
1344Separator separator = item as Separator; 2077bool ret = (item is MenuItem) || (item is Separator); 2091if (item is Separator) 2113if (itemContainer is MenuItem || itemContainer is Separator) 2119throw new InvalidOperationException(SR.Format(SR.InvalidItemContainer, this.GetType().Name, typeof(MenuItem).Name, typeof(Separator).Name, itemContainer));
System\Windows\Controls\Primitives\MenuBase.cs (3)
488bool ret = (item is MenuItem) || (item is Separator); 508if (itemContainer is MenuItem || itemContainer is Separator) 514throw new InvalidOperationException(SR.Format(SR.InvalidItemContainer, this.GetType().Name, typeof(MenuItem).Name, typeof(Separator).Name, itemContainer));
System\Windows\Controls\Primitives\Selector.cs (1)
1859return !(item is Separator);
System\Windows\Controls\Primitives\StatusBar.cs (6)
101bool ret = (item is StatusBarItem) || (item is Separator); 121if (itemContainer is StatusBarItem || itemContainer is Separator) 127throw new InvalidOperationException(SR.Format(SR.InvalidItemContainer, this.GetType().Name, typeof(StatusBarItem).Name, typeof(Separator).Name, itemContainer)); 142Separator separator = element as Separator; 159if (item is Separator)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
85if ((child != null) && ToolBar.GetIsOverflowItem(child) && !(child is Separator))
System\Windows\Controls\Separator.cs (4)
21DefaultStyleKeyProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(typeof(Separator))); 22_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Separator)); 24IsEnabledProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\StickyNote.cs (2)
1854private Separator GetClipboardSeparator() 1856return GetTemplateChild(SNBConstants.c_ClipboardSeparatorId) as Separator;
System\Windows\Controls\ToolBar.cs (1)
482else if (feType == typeof(Separator))
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
650case 554: t = () => typeof(Separator); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8816typeof(System.Windows.Controls.Separator),
System\Windows\Markup\KnownTypes.cs (1)
6108case KnownElements.Separator: t = typeof(System.Windows.Controls.Separator); break;