3 types derived from Button
PresentationFramework (2)
src\Framework\System\Windows\Controls\Primitives\CalendarButton.cs (1)
17public sealed class CalendarButton : Button
src\Framework\System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
17public sealed class CalendarDayButton : Button
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\PropertyEditing\EditModeSwitchButton.cs (1)
19public class EditModeSwitchButton : Button {
2 instantiations of Button
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2295bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Button(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1155case KnownElements.Button: o = new System.Windows.Controls.Button(); break;
74 references to Button
PresentationFramework (60)
src\Framework\System\Windows\Automation\Peers\ButtonAutomationPeer.cs (2)
23public ButtonAutomationPeer(Button owner): base(owner) 56((Button)Owner).AutomationButtonBaseClick();
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (2)
155Button owningButton = child as Button;
src\Framework\System\Windows\Automation\Peers\CalendarButtonAutomationPeer.cs (1)
26public CalendarButtonAutomationPeer(Button owner)
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (9)
111internal Button OwningButton 135Button owningButton = OwningButton; 369Button owningButton = OwningButton; 618Button owningButton = OwningButton; 637Button owningButton = OwningButton; 667Button owningButton = OwningButton; 696Button owningButton = OwningButton; 796Button owningButton = OwningButton; 851Button owningButton = OwningButton;
src\Framework\System\Windows\Controls\Button.cs (13)
29DefaultStyleKeyProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(typeof(Button))); 30_dType = DependencyObjectType.FromSystemTypeInternal(typeof(Button)); 36IsEnabledProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 65= DependencyProperty.Register("IsDefault", typeof(bool), typeof(Button), 81Button b = d as Button; 106Button b = ((Button)d); 128typeof(Button), 145Button b = d as Button; 164= DependencyProperty.RegisterReadOnly("IsDefaulted", typeof(bool), typeof(Button),
src\Framework\System\Windows\Controls\DatePicker.cs (2)
29[TemplatePart(Name = DatePicker.ElementButton, Type = typeof(Button))] 687_dropDownButton = GetTemplateChild(ElementButton) as Button;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (12)
19[TemplatePart(Name = CalendarItem.ElementHeaderButton, Type = typeof(Button))] 20[TemplatePart(Name = CalendarItem.ElementPreviousButton, Type = typeof(Button))] 21[TemplatePart(Name = CalendarItem.ElementNextButton, Type = typeof(Button))] 53private Button _headerButton; 55private Button _nextButton; 56private Button _previousButton; 113internal Button HeaderButton 121internal Button NextButton 129internal Button PreviousButton 174_previousButton = GetTemplateChild(ElementPreviousButton) as Button; 175_nextButton = GetTemplateChild(ElementNextButton) as Button; 176_headerButton = GetTemplateChild(ElementHeaderButton) as Button;
src\Framework\System\Windows\Controls\StickyNote.cs (10)
80[TemplatePart(Name = SNBConstants.c_CloseButtonId, Type = typeof(Button))] 84[TemplatePart(Name = SNBConstants.c_IconButtonId, Type = typeof(Button))] 206Button button = GetIconButton(); 214Button closeButton = GetCloseButton(); 722private Button GetCloseButton() 724return GetTemplateChild(SNBConstants.c_CloseButtonId) as Button; 730private Button GetIconButton() 732return GetTemplateChild(SNBConstants.c_IconButtonId) as Button; 1312Button closeButton = GetCloseButton(); 1318Button iconButton = GetIconButton();
src\Framework\System\Windows\Controls\ToolBar.cs (1)
488if (feType == typeof(Button))
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (2)
120sd._winFXVersion = typeof(System.Windows.Controls.Button).Assembly.GetName().Version; 237if (typeof(System.Windows.Controls.Button).Assembly.GetName().Version == sd._winFXVersion &&
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
147case 55: t = () => typeof(Button); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
4154Type type = typeof(System.Windows.Controls.Button); 4155DependencyProperty dp = System.Windows.Controls.Button.ContentProperty; 4157this.GetXamlType(typeof(System.Windows.Controls.Button)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2293typeof(System.Windows.Controls.Button),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5599case KnownElements.Button: t = typeof(System.Windows.Controls.Button); break;
System.Activities.Core.Presentation (6)
System\Activities\Core\Presentation\StateDesigner.xaml.cs (4)
195Button button = e.Source as Button; 210Button button = e.Source as Button;
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (2)
284Button button = (Button)sender;
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyToolBar.cs (2)
186internal Button SearchClearButton 187{ get { return VisualTreeUtils.GetNamedChild<Button>(this, "PART_SearchClearButton"); } }
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
483Button btn = (Button)sender;
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionValueEditor.cs (2)
77Button okButton = (Button)this.FindName("okButton");
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowHeader.cs (2)
34Button closeButton; 79this.closeButton = this.Template.FindName("PART_CloseButton", this) as Button;