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)
189this.Items.Add(new Separator());
System\Windows\Controls\GridViewHeaderRowPresenter.cs (1)
1142Separator indicator = new Separator
System\Windows\Controls\Primitives\ScrollBar.cs (9)
831verticalContextMenu.Items.Add(new Separator()); 834verticalContextMenu.Items.Add(new Separator()); 837verticalContextMenu.Items.Add(new Separator()); 851horizontalContextMenuLeftToRight.Items.Add(new Separator()); 854horizontalContextMenuLeftToRight.Items.Add(new Separator()); 857horizontalContextMenuLeftToRight.Items.Add(new Separator()); 871horizontalContextMenuRightToLeft.Items.Add(new Separator()); 874horizontalContextMenuRightToLeft.Items.Add(new Separator()); 877horizontalContextMenuRightToLeft.Items.Add(new Separator());
System\windows\Documents\TextEditorContextMenu.cs (1)
471this.Items.Add(new Separator());
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9753DefaultConstructor = delegate () { return new System.Windows.Controls.Separator(); },
System\Windows\Markup\KnownTypes.cs (1)
1519case 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)
1046if (item is Separator) 1047Separator.PrepareContainer(element as Control);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
1142Separator indicator = new Separator 1165ControlTemplate template = new ControlTemplate(typeof(Separator)) 1652private 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)
1849return !(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)
1839private Separator GetClipboardSeparator() 1841return 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)
9750typeof(System.Windows.Controls.Separator),
System\Windows\Markup\KnownTypes.cs (1)
6102case KnownElements.Separator: t = typeof(System.Windows.Controls.Separator); break;