2 types derived from Separator
PresentationFramework (1)
System\Windows\Controls\DataGridColumnDropSeparator.cs (1)
13internal class DataGridColumnDropSeparator : Separator
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
26public class RibbonSeparator : Separator
14 instantiations of Separator
PresentationFramework (14)
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
187this.Items.Add(new Separator());
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1138Separator indicator = new Separator();
System\Windows\Controls\Primitives\ScrollBar.cs (9)
829verticalContextMenu.Items.Add(new Separator()); 832verticalContextMenu.Items.Add(new Separator()); 835verticalContextMenu.Items.Add(new Separator()); 849horizontalContextMenuLeftToRight.Items.Add(new Separator()); 852horizontalContextMenuLeftToRight.Items.Add(new Separator()); 855horizontalContextMenuLeftToRight.Items.Add(new Separator()); 869horizontalContextMenuRightToLeft.Items.Add(new Separator()); 872horizontalContextMenuRightToLeft.Items.Add(new Separator()); 875horizontalContextMenuRightToLeft.Items.Add(new Separator());
System\windows\Documents\TextEditorContextMenu.cs (1)
471this.Items.Add(new Separator());
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8816bamlType.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)
94if (item is Separator) 130if (item is Separator)
System\Windows\Automation\Peers\SeparatorAutomationPeer.cs (1)
13public SeparatorAutomationPeer(Separator owner): base(owner)
System\Windows\Automation\Peers\StatusBarAutomationPeer.cs (3)
41if (obj is Separator) 43Separator separator = obj as Separator;
System\Windows\Controls\ComboBox.cs (2)
1042if (item is Separator) 1043Separator.PrepareContainer(element as Control);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
1138Separator indicator = new Separator(); 1159ControlTemplate template = new ControlTemplate(typeof(Separator)); 1644private Separator _indicator;
System\Windows\Controls\ListBox.cs (2)
242if (item is Separator) 243Separator.PrepareContainer(element as Control);
System\Windows\Controls\Menu.cs (1)
346if (menuItem != null && !(Items[i] is Separator))
System\Windows\Controls\MenuItem.cs (6)
1334Separator separator = item as Separator; 2067bool ret = (item is MenuItem) || (item is Separator); 2081if (item is Separator) 2103if (itemContainer is MenuItem || itemContainer is Separator) 2109throw new InvalidOperationException(SR.Format(SR.InvalidItemContainer, this.GetType().Name, typeof(MenuItem).Name, typeof(Separator).Name, itemContainer));
System\Windows\Controls\Primitives\MenuBase.cs (3)
479bool ret = (item is MenuItem) || (item is Separator); 499if (itemContainer is MenuItem || itemContainer is Separator) 505throw new InvalidOperationException(SR.Format(SR.InvalidItemContainer, this.GetType().Name, typeof(MenuItem).Name, typeof(Separator).Name, itemContainer));
System\Windows\Controls\Primitives\Selector.cs (1)
1850return !(item is Separator);
System\Windows\Controls\Primitives\StatusBar.cs (6)
98bool ret = (item is StatusBarItem) || (item is Separator); 118if (itemContainer is StatusBarItem || itemContainer is Separator) 124throw new InvalidOperationException(SR.Format(SR.InvalidItemContainer, this.GetType().Name, typeof(StatusBarItem).Name, typeof(Separator).Name, itemContainer)); 139Separator separator = element as Separator; 156if (item is Separator)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
75if ((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)
1838private Separator GetClipboardSeparator() 1840return GetTemplateChild(SNBConstants.c_ClipboardSeparatorId) as Separator;
System\Windows\Controls\ToolBar.cs (1)
473else if (feType == typeof(Separator))
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
648case 554: t = () => typeof(Separator); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8814typeof(System.Windows.Controls.Separator),
System\Windows\Markup\KnownTypes.cs (1)
6108case KnownElements.Separator: t = typeof(System.Windows.Controls.Separator); break;