1 type derived from FrameworkPropertyMetadata
PresentationFramework (1)
System\Windows\FrameworkReadOnlyPropertyMetadata.cs (1)
7internal class ReadOnlyFrameworkPropertyMetadata : FrameworkPropertyMetadata
1866 instantiations of FrameworkPropertyMetadata
Microsoft.AspNetCore.Components.WebView.Wpf (2)
BlazorWebView.cs (2)
99 FocusableProperty.OverrideMetadata(typeof(BlazorWebView), new FrameworkPropertyMetadata(false)); 103 IsTabStopProperty.OverrideMetadata(typeof(BlazorWebView), new FrameworkPropertyMetadata(OnIsTabStopPropertyChanged));
PresentationFramework (1251)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
318new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits));
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
453new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior));
MS\Internal\AppModel\JournalNavigationScope.cs (4)
42new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 50new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 60new FrameworkPropertyMetadata((IEnumerable)null)); 68new FrameworkPropertyMetadata((IEnumerable)null));
MS\Internal\Documents\IFlowDocumentViewer.cs (1)
892CanGoToNextPagePropertyKey.OverrideMetadata(typeof(ReaderTwoPageViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, null, new CoerceValueCallback(CoerceCanGoToNextPage)));
MS\Internal\Documents\TextBoxView.cs (1)
37MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
MS\Internal\Documents\UndoManager.cs (1)
1150new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
System\ComponentModel\DesignerProperties.cs (1)
40new FrameworkPropertyMetadata(BooleanBoxes.FalseBox,
System\Windows\Annotations\AnnotationService.cs (2)
535internal static readonly DependencyProperty ChooserProperty = DependencyProperty.RegisterAttached("Chooser", typeof(AnnotationComponentChooser), typeof(AnnotationService), new FrameworkPropertyMetadata(new AnnotationComponentChooser(), FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior)); 697internal static readonly DependencyProperty ServiceProperty = DependencyProperty.RegisterAttached("Service", typeof(AnnotationService), typeof(AnnotationService), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior));
System\Windows\Controls\AccessText.cs (5)
133new FrameworkPropertyMetadata( 251new FrameworkPropertyMetadata( 357new FrameworkPropertyMetadata( 378new FrameworkPropertyMetadata( 397TextBlock.BaselineOffsetProperty.AddOwner(typeof(AccessText), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPropertyChanged)));
System\Windows\Controls\Border.cs (5)
119new FrameworkPropertyMetadata( 145new FrameworkPropertyMetadata( 155new FrameworkPropertyMetadata( 172new FrameworkPropertyMetadata( 184new FrameworkPropertyMetadata(
System\Windows\Controls\Button.cs (5)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(typeof(Button))); 31IsEnabledProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 61new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 124new FrameworkPropertyMetadata( 160new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Calendar.cs (12)
79DefaultStyleKeyProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(typeof(Calendar))); 80KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 81KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 82LanguageProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged))); 199new FrameworkPropertyMetadata(DateTime.MinValue, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateChanged, CoerceDisplayDate)); 255new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateEndChanged, CoerceDisplayDateEnd)); 316new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateStartChanged, CoerceDisplayDateStart)); 372new FrameworkPropertyMetadata(CalendarMode.Month, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayModePropertyChanged), 442new FrameworkPropertyMetadata(DateTimeHelper.GetCurrentDateFormat().FirstDayOfWeek, 478new FrameworkPropertyMetadata(true, OnIsTodayHighlightedChanged)); 531new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnSelectedDateChanged)); 621new FrameworkPropertyMetadata(CalendarSelectionMode.SingleDate, OnSelectionModeChanged),
System\Windows\Controls\Canvas.cs (4)
205new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 216new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 228new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 239new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)),
System\Windows\Controls\CheckBox.cs (2)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(typeof(CheckBox))); 35KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ColumnDefinition.cs (3)
1016new FrameworkPropertyMetadata( 1031new FrameworkPropertyMetadata( 1046new FrameworkPropertyMetadata(
System\Windows\Controls\ComboBox.cs (17)
36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 37KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 38KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 41ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 43DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox))); 46IsTextSearchEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 61IsSelectionActivePropertyKey.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 84new FrameworkPropertyMetadata(SystemParameters.PrimaryScreenHeight / 3, OnVisualStatePropertyChanged)); 111new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 326new FrameworkPropertyMetadata( 357new FrameworkPropertyMetadata( 390new FrameworkPropertyMetadata(String.Empty)); 412new FrameworkPropertyMetadata((DataTemplate)null)); 430new FrameworkPropertyMetadata((String)null)); 451new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 473new FrameworkPropertyMetadata(BooleanBoxes.FalseBox,
System\Windows\Controls\ComboBoxItem.cs (2)
42DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBoxItem), new FrameworkPropertyMetadata(typeof(ComboBoxItem))); 55new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ContentControl.cs (6)
42DefaultStyleKeyProperty.OverrideMetadata(typeof(ContentControl), new FrameworkPropertyMetadata(typeof(ContentControl))); 230new FrameworkPropertyMetadata( 304new FrameworkPropertyMetadata( 338new FrameworkPropertyMetadata( 383new FrameworkPropertyMetadata( 432new FrameworkPropertyMetadata(
System\Windows\Controls\ContentPresenter.cs (7)
129new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 153new FrameworkPropertyMetadata( 251new FrameworkPropertyMetadata( 298new FrameworkPropertyMetadata( 360new FrameworkPropertyMetadata( 410new FrameworkPropertyMetadata("Content")); 774new FrameworkPropertyMetadata(
System\Windows\Controls\ContextMenu.cs (14)
38DefaultStyleKeyProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(typeof(ContextMenu))); 41IsTabStopProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 42KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 43KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 44KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 47FocusVisualStyleProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata((object)null /* default value */)); 78new FrameworkPropertyMetadata(null, 102new FrameworkPropertyMetadata(null, 127new FrameworkPropertyMetadata( 171new FrameworkPropertyMetadata(null, 195new FrameworkPropertyMetadata(null, 218new FrameworkPropertyMetadata(null, 242new FrameworkPropertyMetadata(null, 462new FrameworkPropertyMetadata(BooleanBoxes.TrueBox,
System\Windows\Controls\ContextMenuService.cs (9)
27new FrameworkPropertyMetadata((ContextMenu)null, 74new FrameworkPropertyMetadata(0d)); // Default Value 107new FrameworkPropertyMetadata(0d)); // Default Value 140new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); //Default Value 171new FrameworkPropertyMetadata((UIElement)null)); // Default Value 203new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 235new FrameworkPropertyMetadata(PlacementMode.MousePoint)); // Default Value 267new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 299new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value
System\Windows\Controls\Control.cs (14)
27FocusableProperty.OverrideMetadata(typeof(Control), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 67new FrameworkPropertyMetadata( 89new FrameworkPropertyMetadata( 111new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata(SystemColors.ControlTextBrush, 161new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, 186new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize, 211new FrameworkPropertyMetadata(TextElement.FontStretchProperty.DefaultMetadata.DefaultValue, 235new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, 259new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, 285new FrameworkPropertyMetadata(HorizontalAlignment.Left), 311new FrameworkPropertyMetadata(VerticalAlignment.Top), 369new FrameworkPropertyMetadata( 401new FrameworkPropertyMetadata(
System\Windows\Controls\DataGrid.cs (66)
40DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(DataGrid))); 43ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(dataGridRowPresenterFactory))); 44VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true, null, new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 45VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling)); 46ItemContainerStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemContainerStyle))); 47ItemContainerStyleSelectorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemContainerStyleSelector))); 48ItemsSourceProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata((PropertyChangedCallback)null, OnCoerceItemsSourceProperty)); 49AlternationCountProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(0, null, new CoerceValueCallback(OnCoerceAlternationCount))); 50IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 51IsKeyboardFocusWithinPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsKeyboardFocusWithinChanged))); 52IsSynchronizedWithCurrentItemProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceIsSynchronizedWithCurrentItem))); 53IsTabStopProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 54KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 55KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 138DependencyProperty.Register("CanUserResizeColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnAndColumnHeaderPropertyChanged))); 153DependencyProperty.Register("ColumnWidth", typeof(DataGridLength), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridLength.SizeToHeader)); 172new FrameworkPropertyMetadata(20d, new PropertyChangedCallback(OnColumnSizeConstraintChanged)), 192new FrameworkPropertyMetadata(double.PositiveInfinity, new PropertyChangedCallback(OnColumnSizeConstraintChanged)), 696new FrameworkPropertyMetadata(DataGridGridLinesVisibility.All, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 715new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 734new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 897DependencyProperty.Register("RowStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnRowStyleChanged))); 927DependencyProperty.Register("RowValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 1009DependencyProperty.Register("RowStyleSelector", typeof(StyleSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnRowStyleSelectorChanged))); 1052DependencyProperty.Register("RowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 1070DependencyProperty.Register("AlternatingRowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyDataGridAndRowPropertyChanged))); 1102DependencyProperty.Register("RowHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, new PropertyChangedCallback(OnNotifyCellsPresenterPropertyChanged))); 1117DependencyProperty.Register("MinRowHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnNotifyCellsPresenterPropertyChanged))); 1202DependencyProperty.Register("RowHeaderWidth", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, new PropertyChangedCallback(OnNotifyRowHeaderWidthPropertyChanged))); 1217DependencyProperty.RegisterReadOnly("RowHeaderActualWidth", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnNotifyRowHeaderPropertyChanged))); 1237DependencyProperty.Register("ColumnHeaderHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, OnNotifyColumnHeaderPropertyChanged)); 1252DependencyProperty.Register("HeadersVisibility", typeof(DataGridHeadersVisibility), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridHeadersVisibility.All)); 1391DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndCellPropertyChanged))); 1406DependencyProperty.Register("ColumnHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndColumnHeaderPropertyChanged))); 1421DependencyProperty.Register("RowHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 1436DependencyProperty.Register("RowHeaderTemplate", typeof(DataTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 1451DependencyProperty.Register("RowHeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 1518public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1532public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 2030new FrameworkPropertyMetadata(0d, OnNotifyHorizontalOffsetPropertyChanged)); 2774DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsReadOnlyChanged))); 2810DependencyProperty.Register("CurrentItem", typeof(object), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentItemChanged))); 2853DependencyProperty.Register("CurrentColumn", typeof(DataGridColumn), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentColumnChanged))); 2886DependencyProperty.Register("CurrentCell", typeof(DataGridCellInfo), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridCellInfo.Unset, new PropertyChangedCallback(OnCurrentCellChanged))); 3457DependencyProperty.Register("CanUserAddRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserAddRowsChanged), new CoerceValueCallback(OnCoerceCanUserAddRows))); 3507DependencyProperty.Register("CanUserDeleteRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserDeleteRowsChanged), new CoerceValueCallback(OnCoerceCanUserDeleteRows))); 3897DependencyProperty.Register("RowDetailsVisibilityMode", typeof(DataGridRowDetailsVisibilityMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridRowDetailsVisibilityMode.VisibleWhenSelected, OnNotifyRowAndDetailsPropertyChanged)); 3912DependencyProperty.Register("AreRowDetailsFrozen", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false)); 3927DependencyProperty.Register("RowDetailsTemplate", typeof(DataTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged)); 3942DependencyProperty.Register("RowDetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged)); 4044DependencyProperty.Register("CanUserResizeRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyRowHeaderPropertyChanged))); 4066new FrameworkPropertyMetadata(new Thickness(0))); 4442DependencyProperty.Register("SelectionMode", typeof(DataGridSelectionMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridSelectionMode.Extended, new PropertyChangedCallback(OnSelectionModeChanged))); 4504DependencyProperty.Register("SelectionUnit", typeof(DataGridSelectionUnit), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridSelectionUnit.FullRow, new PropertyChangedCallback(OnSelectionUnitChanged))); 7073new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserSortColumnsPropertyChanged), new CoerceValueCallback(OnCoerceCanUserSortColumns))); 7487DependencyProperty.Register("AutoGenerateColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnAutoGenerateColumnsPropertyChanged))); 7941new FrameworkPropertyMetadata(0, new PropertyChangedCallback(OnFrozenColumnCountPropertyChanged), new CoerceValueCallback(OnCoerceFrozenColumnCount)), 8001new FrameworkPropertyMetadata(0.0)); 8060new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnEnableRowVirtualizationChanged))); 8108new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnEnableColumnVirtualizationChanged))); 8128DependencyProperty.Register("CanUserReorderColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnPropertyChanged))); 8143DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged)); 8158DependencyProperty.Register("DropLocationIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null)); 8227DependencyProperty.Register("ClipboardCopyMode", typeof(DataGridClipboardCopyMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridClipboardCopyMode.ExcludeHeader, new PropertyChangedCallback(OnClipboardCopyModeChanged))); 8421new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(CellsPanelActualWidthChanged))); 8467new FrameworkPropertyMetadata(0d, OnNotifyHorizontalOffsetPropertyChanged));
System\Windows\Controls\DataGridBoundColumn.cs (3)
20SortMemberPathProperty.OverrideMetadata(typeof(DataGridBoundColumn), new FrameworkPropertyMetadata(null, OnCoerceSortMemberPath)); 132new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 152new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent)));
System\Windows\Controls\DataGridCell.cs (10)
29DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(typeof(DataGridCell))); 30StyleProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStyle)); 31ClipProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceClip))); 32KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 33AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 36SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 167DependencyProperty.RegisterReadOnly("Column", typeof(DataGridColumn), typeof(DataGridCell), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnColumnChanged))); 459public static readonly DependencyProperty IsEditingProperty = DependencyProperty.Register("IsEditing", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsEditingChanged))); 522DependencyProperty.RegisterReadOnly("IsReadOnly", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, OnNotifyIsReadOnlyChanged, OnCoerceIsReadOnly)); 662public static readonly DependencyProperty IsSelectedProperty = DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsSelectedChanged)));
System\Windows\Controls\DataGridCellsPanel.cs (1)
28KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCellsPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DataGridCheckBoxColumn.cs (3)
17ElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 18EditingElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 147new FrameworkPropertyMetadata(false, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\DataGridColumn.cs (22)
34DependencyProperty.Register("Header", typeof(object), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnHeaderPropertyChanged))); 49DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged, OnCoerceHeaderStyle)); 75DependencyProperty.Register("HeaderStringFormat", typeof(string), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged)); 90DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged)); 105DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged)); 124DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyCellPropertyChanged, OnCoerceCellStyle)); 150DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(false, OnNotifyCellPropertyChanged, OnCoerceIsReadOnly)); 192new FrameworkPropertyMetadata(DataGridLength.Auto, new PropertyChangedCallback(OnWidthPropertyChanged), new CoerceValueCallback(OnCoerceWidth))); 301new FrameworkPropertyMetadata(20d, new PropertyChangedCallback(OnMinWidthPropertyChanged), new CoerceValueCallback(OnCoerceMinWidth)), 340new FrameworkPropertyMetadata(double.PositiveInfinity, new PropertyChangedCallback(OnMaxWidthPropertyChanged), new CoerceValueCallback(OnCoerceMaxWidth)), 477DependencyProperty.RegisterReadOnly("ActualWidth", typeof(double), typeof(DataGridColumn), new FrameworkPropertyMetadata(0.0, null, new CoerceValueCallback(OnCoerceActualWidth))); 775DependencyProperty.RegisterAttached("OriginalValue", typeof(object), typeof(DataGridColumn), new FrameworkPropertyMetadata(null)); 966new FrameworkPropertyMetadata(-1, new PropertyChangedCallback(DisplayIndexChanged), new CoerceValueCallback(OnCoerceDisplayIndex))); 1014new FrameworkPropertyMetadata(String.Empty)); 1033new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserSortPropertyChanged), new CoerceValueCallback(OnCoerceCanUserSort))); 1101new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifySortPropertyChanged))); 1131new FrameworkPropertyMetadata(false)); 1245new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnNotifyFrozenPropertyChanged), new CoerceValueCallback(OnCoerceIsFrozen))); 1305DependencyProperty.Register("CanUserReorder", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnPropertyChanged), new CoerceValueCallback(OnCoerceCanUserReorder))); 1331DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged, OnCoerceDragIndicatorStyle)); 1464DependencyProperty.Register("CanUserResize", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnHeaderPropertyChanged), new CoerceValueCallback(OnCoerceCanUserResize))); 1508new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityPropertyChanged)));
System\Windows\Controls\DataGridColumnDropSeparator.cs (3)
21new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnHeaderDropSeparatorStyleKey)); 25new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceWidth))); 29new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceHeight)));
System\Windows\Controls\DataGridColumnFloatingHeader.cs (3)
23new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnFloatingHeaderStyleKey)); 27new FrameworkPropertyMetadata(new PropertyChangedCallback(OnWidthChanged), new CoerceValueCallback(OnCoerceWidth))); 31new FrameworkPropertyMetadata(new PropertyChangedCallback(OnHeightChanged), new CoerceValueCallback(OnCoerceHeight)));
System\Windows\Controls\DataGridComboBoxColumn.cs (8)
21SortMemberPathProperty.OverrideMetadata(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(null, OnCoerceSortMemberPath)); 32DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(DataGridComboBoxColumn.TextBlockComboBoxStyleKey)); 33KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(false)); 264DataGridBoundColumn.ElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 280DataGridBoundColumn.EditingElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 369ComboBox.ItemsSourceProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(null, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 386ComboBox.DisplayMemberPathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 401ComboBox.SelectedValuePathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\DataGridHyperlinkColumn.cs (3)
19ElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 20EditingElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 31new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent)));
System\Windows\Controls\DataGridRow.cs (21)
97VisibilityProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnCoerceVisibility)); 98DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(typeof(DataGridRow))); 99ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 100FocusableProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(false)); 101BackgroundProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceBackground)); 102BindingGroupProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(OnNotifyRowPropertyChanged)); 105SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 107VirtualizingPanel.ShouldCacheContainerSizeProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceShouldCacheContainerSize))); 108AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 137DependencyProperty.Register("Item", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 277DependencyProperty.Register("Header", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 301DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderStyle)); 316DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplate)); 331DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplateSelector)); 346DependencyProperty.Register("ValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceValidationErrorTemplate)); 365DependencyProperty.Register("DetailsTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplate)); 380DependencyProperty.Register("DetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplateSelector)); 395DependencyProperty.Register("DetailsVisibility", typeof(Visibility), typeof(DataGridRow), new FrameworkPropertyMetadata(Visibility.Collapsed, OnNotifyDetailsVisibilityChanged, OnCoerceDetailsVisibility)); 1074new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault | FrameworkPropertyMetadataOptions.Journal, new PropertyChangedCallback(OnIsSelectedChanged))); 1222DependencyProperty.RegisterReadOnly("IsEditing", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false, OnNotifyRowAndRowHeaderPropertyChanged)); 1291DependencyProperty.RegisterReadOnly("IsNewItem", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false));
System\Windows\Controls\DataGridTemplateColumn.cs (6)
22new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceTemplateColumnCanUserSort))); 25new FrameworkPropertyMetadata(new PropertyChangedCallback(OnTemplateColumnSortMemberPathChanged))); 69new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 87new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 106new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 125new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent)));
System\Windows\Controls\DataGridTextColumn.cs (7)
20ElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 21EditingElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 299new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 320new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 343new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 364new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 385new FrameworkPropertyMetadata(SystemColors.ControlTextBrush, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\DatePicker.cs (11)
85DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(typeof(DatePicker))); 87KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 88KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(false)); 90LanguageProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged))); 163new FrameworkPropertyMetadata(DateTime.Now, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, null, CoerceDisplayDate)); 196new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateEndChanged, CoerceDisplayDateEnd)); 242new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateStartChanged, CoerceDisplayDateStart)); 312new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnIsDropDownOpenChanged, OnCoerceIsDropDownOpen)); 424new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnSelectedDateChanged, CoerceSelectedDate)); 519new FrameworkPropertyMetadata(DatePickerFormat.Long, OnSelectedDateFormatChanged), 572new FrameworkPropertyMetadata(string.Empty, OnTextChanged));
System\Windows\Controls\DefinitionBase.cs (3)
985new FrameworkPropertyMetadata( 1011new FrameworkPropertyMetadata(new PropertyChangedCallback(OnSharedSizeGroupPropertyChanged)), 1021new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPrivateSharedSizeScopePropertyChanged)));
System\Windows\Controls\DockPanel.cs (2)
162new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 176new FrameworkPropertyMetadata(
System\Windows\Controls\DocumentViewer.cs (18)
362new FrameworkPropertyMetadata( 392new FrameworkPropertyMetadata( 421new FrameworkPropertyMetadata( 449new FrameworkPropertyMetadata( 477new FrameworkPropertyMetadata( 506new FrameworkPropertyMetadata( 534new FrameworkPropertyMetadata( 566new FrameworkPropertyMetadata( 601new FrameworkPropertyMetadata( 629new FrameworkPropertyMetadata( 653new FrameworkPropertyMetadata( 677new FrameworkPropertyMetadata(_canMoveUpDefault)); 703new FrameworkPropertyMetadata(_canMoveDownDefault)); 729new FrameworkPropertyMetadata(_canMoveLeftDefault)); 755new FrameworkPropertyMetadata(_canMoveRightDefault)); 782new FrameworkPropertyMetadata(_canIncreaseZoomDefault)); 811new FrameworkPropertyMetadata(_canDecreaseZoomDefault)); 2024DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer)));
System\Windows\Controls\Expander.cs (4)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(typeof(Expander))); 58IsTabStopProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 95new FrameworkPropertyMetadata( 120new FrameworkPropertyMetadata(
System\Windows\Controls\FlowDocumentReader.cs (19)
48new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentReader"))); 53new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 55new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue, new PropertyChangedCallback(UpdateCaretElement))); 405new FrameworkPropertyMetadata( 419new FrameworkPropertyMetadata( 431new FrameworkPropertyMetadata( 443new FrameworkPropertyMetadata( 455new FrameworkPropertyMetadata(0)); 470new FrameworkPropertyMetadata(0)); 484new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 499new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 514new FrameworkPropertyMetadata( 526new FrameworkPropertyMetadata( 538new FrameworkPropertyMetadata( 548new FrameworkPropertyMetadata( 559new FrameworkPropertyMetadata( 570new FrameworkPropertyMetadata( 589new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 604new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
System\Windows\Controls\FlowDocumentScrollViewer.cs (13)
55new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentScrollViewer"))); 60new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 62new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue, new PropertyChangedCallback(UpdateCaretElement))); 358new FrameworkPropertyMetadata( 368new FrameworkPropertyMetadata( 379new FrameworkPropertyMetadata( 390new FrameworkPropertyMetadata( 409new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 424new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 439new FrameworkPropertyMetadata( 451new FrameworkPropertyMetadata( 461new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 469new FrameworkPropertyMetadata(ScrollBarVisibility.Visible));
System\Windows\Controls\Frame.cs (8)
109DefaultStyleKeyProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(typeof(Frame))); 114new FrameworkPropertyMetadata( 118KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 119KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 123new FrameworkPropertyMetadata(new PropertyChangedCallback(OnParentNavigationServiceChanged))); 231new FrameworkPropertyMetadata( 357new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 402new FrameworkPropertyMetadata(
System\Windows\Controls\Grid.cs (6)
3379new FrameworkPropertyMetadata( 3400new FrameworkPropertyMetadata( 3422new FrameworkPropertyMetadata( 3443new FrameworkPropertyMetadata( 3464new FrameworkPropertyMetadata( 3478new FrameworkPropertyMetadata(
System\Windows\Controls\GridSplitter.cs (9)
88DefaultStyleKeyProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(typeof(GridSplitter))); 92FrameworkElement.HorizontalAlignmentProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(HorizontalAlignment.Right)); 95CursorProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceCursor))); 143new FrameworkPropertyMetadata(GridResizeDirection.Auto, 173new FrameworkPropertyMetadata(GridResizeBehavior.BasedOnAlignment), 204new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 224new FrameworkPropertyMetadata((Style)null)); 245new FrameworkPropertyMetadata(10.0), 274new FrameworkPropertyMetadata(1.0),
System\Windows\Controls\GridView.cs (3)
273new FrameworkPropertyMetadata( 307new FrameworkPropertyMetadata( 369new FrameworkPropertyMetadata(BooleanBoxes.TrueBox /* default value */
System\Windows\Controls\GridViewColumn.cs (5)
89new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata( 168new FrameworkPropertyMetadata( 201new FrameworkPropertyMetadata( 241new FrameworkPropertyMetadata(
System\Windows\Controls\GridViewColumnHeader.cs (8)
60DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader))); 63FocusableProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 66StyleProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 67ContentTemplateProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 68ContentTemplateSelectorProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 69ContextMenuProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 70ToolTipProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 148new FrameworkPropertyMetadata(GridViewColumnHeaderRole.Normal));
System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
53new FrameworkPropertyMetadata( 76new FrameworkPropertyMetadata( 99new FrameworkPropertyMetadata( 126new FrameworkPropertyMetadata( 174new FrameworkPropertyMetadata( 197new FrameworkPropertyMetadata(
System\Windows\Controls\GridViewRowPresenter.cs (1)
63new FrameworkPropertyMetadata(
System\Windows\Controls\GroupBox.cs (3)
24FocusableProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(false)); 25IsTabStopProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(false)); 26DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupBox), new FrameworkPropertyMetadata(typeof(GroupBox)));
System\Windows\Controls\GroupItem.cs (3)
25DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(typeof(GroupItem))); 29FocusableProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(false)); 30AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\HeaderedContentControl.cs (6)
31DefaultStyleKeyProperty.OverrideMetadata(typeof(HeaderedContentControl), new FrameworkPropertyMetadata(typeof(HeaderedContentControl))); 57new FrameworkPropertyMetadata( 103new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 135new FrameworkPropertyMetadata( 180new FrameworkPropertyMetadata( 229new FrameworkPropertyMetadata(
System\Windows\Controls\HeaderedItemsControl.cs (4)
53new FrameworkPropertyMetadata( 128new FrameworkPropertyMetadata( 171new FrameworkPropertyMetadata( 219new FrameworkPropertyMetadata(
System\Windows\Controls\Image.cs (4)
110new FrameworkPropertyMetadata( 381StyleProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(style)); 390new FrameworkPropertyMetadata( 398new FrameworkPropertyMetadata(
System\Windows\Controls\InkCanvas.cs (15)
87ClipToBoundsProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 92FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 129StyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(defaultStyle)); 130DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(InkCanvas))); 132FocusVisualStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata((object)null /* default value */)); 394new FrameworkPropertyMetadata( 413new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 447new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 481new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 515new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 582new FrameworkPropertyMetadata( 701new FrameworkPropertyMetadata( 782new FrameworkPropertyMetadata(InkCanvasEditingMode.Ink)); 805new FrameworkPropertyMetadata( 835new FrameworkPropertyMetadata(
System\Windows\Controls\InkPresenter.cs (1)
106new FrameworkPropertyMetadata(
System\Windows\Controls\ItemContainerGenerator.cs (1)
1288new FrameworkPropertyMetadata((object)null));
System\Windows\Controls\ItemsControl.cs (20)
55DefaultStyleKeyProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(typeof(ItemsControl))); 58VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollingModeChanged), new CoerceValueCallback(CoerceScrollingMode))); 59VirtualizingPanel.CacheLengthProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged))); 60VirtualizingPanel.CacheLengthUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged), new CoerceValueCallback(CoerceVirtualizationCacheLengthUnit))); 178new FrameworkPropertyMetadata((IEnumerable)null, 334new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, OnVisualStatePropertyChanged)); 364new FrameworkPropertyMetadata( 451new FrameworkPropertyMetadata( 502new FrameworkPropertyMetadata( 557new FrameworkPropertyMetadata( 606new FrameworkPropertyMetadata( 678new FrameworkPropertyMetadata( 730new FrameworkPropertyMetadata( 855new FrameworkPropertyMetadata(GetDefaultItemsPanelTemplate(), 899DependencyProperty.RegisterReadOnly("IsGrouping", typeof(bool), typeof(ItemsControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, new PropertyChangedCallback(OnIsGroupingChanged))); 974new FrameworkPropertyMetadata((GroupStyleSelector)null, 1022new FrameworkPropertyMetadata( 1075new FrameworkPropertyMetadata((int)0)); 1119new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1139new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ItemsPresenter.cs (1)
117new FrameworkPropertyMetadata(
System\Windows\Controls\Label.cs (3)
47DefaultStyleKeyProperty.OverrideMetadata(typeof(Label), new FrameworkPropertyMetadata(typeof(Label))); 86new FrameworkPropertyMetadata( 138new FrameworkPropertyMetadata((Label)null));
System\Windows\Controls\ListBox.cs (7)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 62IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 63KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 64KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 66IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 70ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template)); 150new FrameworkPropertyMetadata(
System\Windows\Controls\ListBoxItem.cs (6)
44DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(typeof(ListBoxItem))); 46KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 47KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 51Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 52AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 70new FrameworkPropertyMetadata(BooleanBoxes.FalseBox,
System\Windows\Controls\ListView.cs (1)
42SelectionModeProperty.OverrideMetadata(typeof(ListView), new FrameworkPropertyMetadata(SelectionMode.Extended));
System\Windows\Controls\MediaElement.cs (10)
74StyleProperty.OverrideMetadata(typeof(MediaElement), new FrameworkPropertyMetadata(style)); 83new FrameworkPropertyMetadata( 91new FrameworkPropertyMetadata( 122new FrameworkPropertyMetadata( 135new FrameworkPropertyMetadata( 147new FrameworkPropertyMetadata( 160new FrameworkPropertyMetadata( 173new FrameworkPropertyMetadata( 186new FrameworkPropertyMetadata( 199new FrameworkPropertyMetadata(
System\Windows\Controls\Menu.cs (6)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(typeof(Menu))); 49ItemsPanelProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(GetDefaultPanel())); 50IsTabStopProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(false)); 52KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 53KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 85new FrameworkPropertyMetadata(
System\Windows\Controls\MenuItem.cs (29)
160HeaderProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceHeader))); 165ForegroundProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush)); 166FontFamilyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily)); 167FontSizeProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize)); 168FontStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle)); 169FontWeightProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight)); 172ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 178DefaultStyleKeyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(typeof(MenuItem))); 181KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 184FocusVisualStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata((object)null /* default value */)); 190InputMethod.IsInputMethodSuspendedProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 191AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 379new FrameworkPropertyMetadata( 479new FrameworkPropertyMetadata( 508new FrameworkPropertyMetadata((IInputElement) null)); 530new FrameworkPropertyMetadata( 746new FrameworkPropertyMetadata(MenuItemRole.TopLevelItem)); 805new FrameworkPropertyMetadata( 834new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 877new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 907new FrameworkPropertyMetadata( 976new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1005new FrameworkPropertyMetadata( 1101new FrameworkPropertyMetadata(String.Empty, 1158new FrameworkPropertyMetadata((object)null)); 1173new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1243new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector())); 2241new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 2652new FrameworkPropertyMetadata(new BoolField())
System\Windows\Controls\Page.cs (7)
44new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWindowServiceChanged))); 50FocusableProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 52DefaultStyleKeyProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(typeof(Page))); 129new FrameworkPropertyMetadata(new PropertyChangedCallback(OnContentChanged))); 325new FrameworkPropertyMetadata( 346new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnTitleChanged))); 506new FrameworkPropertyMetadata(
System\Windows\Controls\Panel.cs (3)
137new FrameworkPropertyMetadata((Brush)null, 212new FrameworkPropertyMetadata( 906new FrameworkPropertyMetadata(
System\Windows\Controls\PasswordBox.cs (10)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(typeof(PasswordBox))); 56new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPasswordCharChanged))); 60new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPaddingChanged))); 63NavigationService.NavigationServiceProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnParentNavigationServiceChanged))); 66new FrameworkPropertyMetadata( 79new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 81new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 83new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 85new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 226new FrameworkPropertyMetadata('*')); // Flags
System\Windows\Controls\PopupControlService.cs (2)
1223new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1232new FrameworkPropertyMetadata((DependencyObject)null, // Default Value
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
58new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\ButtonBase.cs (7)
28KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 34InputMethod.IsInputMethodEnabledProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 187new FrameworkPropertyMetadata((ICommand)null, 199new FrameworkPropertyMetadata( 214new FrameworkPropertyMetadata((IInputElement)null)); 224new FrameworkPropertyMetadata( 387new FrameworkPropertyMetadata(ClickMode.Release),
System\Windows\Controls\Primitives\CalendarButton.cs (3)
20DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton))); 39new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 63new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\CalendarDayButton.cs (6)
29DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton))); 48new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 71new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 94new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 117new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 140new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\CalendarItem.cs (4)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(typeof(CalendarItem))); 60FocusableProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(false)); 61KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 62KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (7)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(typeof(DataGridCellsPresenter))); 34ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 35FocusableProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(false)); 37HeightProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceHeight)); 38MinHeightProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceMinHeight)); 42new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsVirtualizingPropertyChanged), new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 43VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (16)
27DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(typeof(DataGridColumnHeader))); 29ContentProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent)); 30ContentTemplateProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplate)); 31ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 32ContentStringFormatProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStringFormat)); 33StyleProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStyle)); 34HeightProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceHeight)); 36FocusableProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(false)); 37ClipProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnCoerceClip)); 38AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 77DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null)); 92DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 147new FrameworkPropertyMetadata(-1, new PropertyChangedCallback(OnDisplayIndexChanged), new CoerceValueCallback(OnCoerceDisplayIndex))); 712new FrameworkPropertyMetadata(true, null, new CoerceValueCallback(OnCoerceCanUserSort))); 735new FrameworkPropertyMetadata(null, OnVisualStatePropertyChanged, new CoerceValueCallback(OnCoerceSortDirection))); 868new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(OnCoerceIsFrozen)));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
35DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 36FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 39ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(factory))); 43new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsVirtualizingPropertyChanged), new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 47new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (4)
17DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(typeof(DataGridDetailsPresenter))); 18ContentTemplateProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplate)); 19ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 20AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridRowHeader.cs (12)
118DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(typeof(DataGridRowHeader))); 120ContentProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent)); 121ContentTemplateProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplate)); 122ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 123StyleProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceStyle)); 124WidthProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceWidth)); 126ClickModeProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(ClickMode.Press)); 127FocusableProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(false)); 128AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 155DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(null)); 170DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 527new FrameworkPropertyMetadata(false, OnVisualStatePropertyChanged, new CoerceValueCallback(OnCoerceIsRowSelected)));
System\Windows\Controls\Primitives\DatePickerTextBox.cs (2)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(typeof(DatePickerTextBox))); 37TextProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(OnVisualStatePropertyChanged));
System\Windows\Controls\Primitives\DocumentPageView.cs (3)
147new FrameworkPropertyMetadata( 158new FrameworkPropertyMetadata( 168new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
64TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(DocumentViewerBase), new FrameworkPropertyMetadata(true)); 246new FrameworkPropertyMetadata( 258new FrameworkPropertyMetadata(0)); 274new FrameworkPropertyMetadata(0)); 290new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 306new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 326new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
58new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\MenuBase.cs (3)
60FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(MenuBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 65InputMethod.IsInputMethodSuspendedProperty.OverrideMetadata(typeof(MenuBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 80new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
System\Windows\Controls\Primitives\Popup.cs (14)
57VisibilityProperty.OverrideMetadata(typeof(Popup), new FrameworkPropertyMetadata(VisibilityBoxes.CollapsedBox, null, new CoerceValueCallback(CoerceVisibility))); 89new FrameworkPropertyMetadata( 113new FrameworkPropertyMetadata( 289new FrameworkPropertyMetadata( 441new FrameworkPropertyMetadata( 513new FrameworkPropertyMetadata((object) null)); 535new FrameworkPropertyMetadata( 579new FrameworkPropertyMetadata( 615new FrameworkPropertyMetadata( 640new FrameworkPropertyMetadata( 684new FrameworkPropertyMetadata( 765new FrameworkPropertyMetadata(PopupAnimation.None, 801new FrameworkPropertyMetadata( 831new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\PopupRoot.cs (1)
23SnapsToDevicePixelsProperty.OverrideMetadata(typeof(PopupRoot), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
System\Windows\Controls\Primitives\RangeBase.cs (5)
71new FrameworkPropertyMetadata( 123new FrameworkPropertyMetadata( 186new FrameworkPropertyMetadata( 281new FrameworkPropertyMetadata(1.0), 308new FrameworkPropertyMetadata(0.1),
System\Windows\Controls\Primitives\RepeatButton.cs (4)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(typeof(RepeatButton))); 26ClickModeProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(ClickMode.Press)); 51new FrameworkPropertyMetadata(GetKeyboardDelay()), 78new FrameworkPropertyMetadata(GetKeyboardSpeed()),
System\Windows\Controls\Primitives\ResizeGrip.cs (2)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(ResizeGrip), new FrameworkPropertyMetadata(typeof(ResizeGrip))); 40new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWindowServiceChanged)));
System\Windows\Controls\Primitives\ScrollBar.cs (7)
94new FrameworkPropertyMetadata(Orientation.Vertical), 103new FrameworkPropertyMetadata(0.0d), 670DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(typeof(ScrollBar))); 676FocusableProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 700MaximumProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(new PropertyChangedCallback(ViewChanged))); 701MinimumProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(new PropertyChangedCallback(ViewChanged))); 703ContextMenuProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceContextMenu)));
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
307new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCanContentScrollChanged)));
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
25new FrameworkPropertyMetadata(SelectiveScrollingOrientation.Both, new PropertyChangedCallback(OnSelectiveScrollingOrientationChanged)));
System\Windows\Controls\Primitives\Selector.cs (8)
172new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 200new FrameworkPropertyMetadata( 242new FrameworkPropertyMetadata( 315new FrameworkPropertyMetadata( 371new FrameworkPropertyMetadata( 424new FrameworkPropertyMetadata( 684new FrameworkPropertyMetadata( 781new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\StatusBar.cs (4)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(typeof(StatusBar))); 36IsTabStopProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 40ItemsPanelProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(template)); 55new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
System\Windows\Controls\Primitives\StatusBarItem.cs (3)
23DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); 26IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 27AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\TabPanel.cs (2)
47KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\Primitives\TextBoxBase.cs (15)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBoxBase), new FrameworkPropertyMetadata(typeof(TextBoxBase))); 55new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollViewerPropertyChanged))); 60new FrameworkPropertyMetadata(new PropertyChangedCallback(OnInputMethodEnabledPropertyChanged))); 427new FrameworkPropertyMetadata( 448new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsReadOnlyCaretVisiblePropertyChanged))); 492new FrameworkPropertyMetadata(false /*default value*/)); 521new FrameworkPropertyMetadata( 541new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden, 684new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnIsUndoEnabledChanged))); 727new FrameworkPropertyMetadata(UndoManager.UndoLimitDefaultValue, new PropertyChangedCallback(OnUndoLimitChanged)), 756new FrameworkPropertyMetadata(false)); 782new FrameworkPropertyMetadata(GetDefaultSelectionBrush(), new PropertyChangedCallback(UpdateCaretElement))); 801new FrameworkPropertyMetadata(GetDefaultSelectionTextBrush(), new PropertyChangedCallback(UpdateCaretElement))); 832new FrameworkPropertyMetadata(SelectionOpacityDefaultValue, 852new FrameworkPropertyMetadata(null, new PropertyChangedCallback(UpdateCaretElement)));
System\Windows\Controls\Primitives\Thumb.cs (1)
40DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb)));
System\Windows\Controls\Primitives\TickBar.cs (11)
60SnapsToDevicePixelsProperty.OverrideMetadata(typeof(TickBar), new FrameworkPropertyMetadata(true)); 84new FrameworkPropertyMetadata( 112new FrameworkPropertyMetadata( 132new FrameworkPropertyMetadata( 152new FrameworkPropertyMetadata( 172new FrameworkPropertyMetadata( 192new FrameworkPropertyMetadata( 212new FrameworkPropertyMetadata( 254new FrameworkPropertyMetadata( 280new FrameworkPropertyMetadata( 314new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\ToggleButton.cs (3)
28DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton))); 122new FrameworkPropertyMetadata( 224new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
24new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsMeasure),
System\Windows\Controls\Primitives\Track.cs (6)
228new FrameworkPropertyMetadata(Orientation.Horizontal, FrameworkPropertyMetadataOptions.AffectsMeasure), 248new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsArrange)); 266new FrameworkPropertyMetadata(1d, FrameworkPropertyMetadataOptions.AffectsArrange)); 284new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault | FrameworkPropertyMetadataOptions.AffectsArrange)); 304new FrameworkPropertyMetadata(double.NaN, FrameworkPropertyMetadataOptions.AffectsArrange), 335new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\UniformGrid.cs (3)
69new FrameworkPropertyMetadata( 99new FrameworkPropertyMetadata( 129new FrameworkPropertyMetadata(
System\Windows\Controls\ProgressBar.cs (6)
36FocusableProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 37DefaultStyleKeyProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(typeof(ProgressBar))); 41RangeBase.MaximumProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(100.0)); 42ForegroundProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(OnForegroundChanged)); 80new FrameworkPropertyMetadata( 130new FrameworkPropertyMetadata(
System\Windows\Controls\RadioButton.cs (2)
27DefaultStyleKeyProperty.OverrideMetadata(typeof(RadioButton), new FrameworkPropertyMetadata(typeof(RadioButton))); 198new FrameworkPropertyMetadata(String.Empty, new PropertyChangedCallback(OnGroupNameChanged)));
System\Windows\Controls\RichTextBox.cs (7)
43DefaultStyleKeyProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(typeof(RichTextBox))); 47KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 50TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 57TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue)); 499new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsDocumentEnabledChanged))); 637inheritableFormattingProperties[i].OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(formattingPropertyCallback)); 645inheritableBehavioralProperties[i].OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(behavioralPropertyCallback));
System\Windows\Controls\RowDefinition.cs (3)
1016new FrameworkPropertyMetadata( 1031new FrameworkPropertyMetadata( 1046new FrameworkPropertyMetadata(
System\Windows\Controls\ScrollViewer.cs (23)
446new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 477new FrameworkPropertyMetadata( 511new FrameworkPropertyMetadata( 544new FrameworkPropertyMetadata(Visibility.Visible)); 562new FrameworkPropertyMetadata(Visibility.Visible)); 581new FrameworkPropertyMetadata(0d)); 598new FrameworkPropertyMetadata(0d)); 615new FrameworkPropertyMetadata(0d)); 649new FrameworkPropertyMetadata(0d)); 682new FrameworkPropertyMetadata(0d)); 698new FrameworkPropertyMetadata(0d)); 714new FrameworkPropertyMetadata(0d)); 730new FrameworkPropertyMetadata(0d)); 746new FrameworkPropertyMetadata(0d)); 762new FrameworkPropertyMetadata(0d)); 776public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1429new FrameworkPropertyMetadata(PanningMode.None, new PropertyChangedCallback(OnPanningModeChanged))); 1504new FrameworkPropertyMetadata(0.001), 1544new FrameworkPropertyMetadata(1d), 2908DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(typeof(ScrollViewer))); 2914Control.TemplateProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(template)); 2915IsTabStopProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 2916KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\Separator.cs (2)
21DefaultStyleKeyProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(typeof(Separator))); 24IsEnabledProperty.OverrideMetadata(typeof(Separator), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\SinglePageViewer.cs (9)
51new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentPageViewer"))); 56new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 58new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue, new PropertyChangedCallback(UpdateCaretElement))); 251new FrameworkPropertyMetadata( 265new FrameworkPropertyMetadata( 279new FrameworkPropertyMetadata( 292new FrameworkPropertyMetadata(10d), 303new FrameworkPropertyMetadata(true)); 318new FrameworkPropertyMetadata(true));
System\Windows\Controls\Slider.cs (17)
56MinimumProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(0.0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 57MaximumProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(10.0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 58ValueProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 68DefaultStyleKeyProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(typeof(Slider))); 271new FrameworkPropertyMetadata(Orientation.Horizontal), 291new FrameworkPropertyMetadata(false)); 314public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay())); 339public static readonly DependencyProperty IntervalProperty = RepeatButton.IntervalProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardSpeed())); 366new FrameworkPropertyMetadata(Primitives.AutoToolTipPlacement.None), 403new FrameworkPropertyMetadata(0), new ValidateValueCallback(IsValidAutoToolTipPrecision)); 448new FrameworkPropertyMetadata(false)); 471new FrameworkPropertyMetadata(Primitives.TickPlacement.None), 507new FrameworkPropertyMetadata(1.0), 571new FrameworkPropertyMetadata(false)); 594new FrameworkPropertyMetadata(0.0d, 644new FrameworkPropertyMetadata(0.0d, 735new FrameworkPropertyMetadata(false));
System\Windows\Controls\SoundPlayerAction.cs (1)
56new FrameworkPropertyMetadata(
System\Windows\Controls\SpellCheck.cs (3)
95new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 142new FrameworkPropertyMetadata(Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName == "de" ? SpellingReform.Postreform : SpellingReform.PreAndPostreform, 172new FrameworkPropertyMetadata(new DictionaryCollectionFactory()));
System\Windows\Controls\Stack.cs (1)
311new FrameworkPropertyMetadata(
System\Windows\Controls\StickyNote.cs (21)
109DefaultStyleKeyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata( 112KeyboardNavigation.TabNavigationProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 113Control.IsTabStopProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(false)); 118new FrameworkPropertyMetadata(new PropertyChangedCallback(_UpdateInkDrawingAttributes))); 120FontFamilyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 121FontSizeProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 122FontStretchProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 123FontStyleProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 124FontWeightProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 231new FrameworkPropertyMetadata(String.Empty)); 258new FrameworkPropertyMetadata( 279new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 301new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 330new FrameworkPropertyMetadata( 353new FrameworkPropertyMetadata( 376new FrameworkPropertyMetadata( 398new FrameworkPropertyMetadata( 421new FrameworkPropertyMetadata( 444new FrameworkPropertyMetadata( 466new FrameworkPropertyMetadata(StickyNoteType.Text)); 752new FrameworkPropertyMetadata(
System\Windows\Controls\TabControl.cs (10)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(typeof(TabControl))); 38KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 70new FrameworkPropertyMetadata( 104private static readonly DependencyPropertyKey SelectedContentPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContent", typeof(object), typeof(TabControl), new FrameworkPropertyMetadata((object)null)); 132private static readonly DependencyPropertyKey SelectedContentTemplatePropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 161private static readonly DependencyPropertyKey SelectedContentTemplateSelectorPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 190new FrameworkPropertyMetadata((String)null)); 218public static readonly DependencyProperty ContentTemplateProperty = DependencyProperty.Register("ContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 243public static readonly DependencyProperty ContentTemplateSelectorProperty = DependencyProperty.Register("ContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 270new FrameworkPropertyMetadata((String) null));
System\Windows\Controls\TabItem.cs (6)
50DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 52KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 53KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 57AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 74new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 173new FrameworkPropertyMetadata(
System\Windows\Controls\TextBlock.cs (9)
309new FrameworkPropertyMetadata( 318typographyProperties[i].OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(onTypographyChanged)); 322DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(typeof(TextBlock))); 522new FrameworkPropertyMetadata( 567new FrameworkPropertyMetadata( 865new FrameworkPropertyMetadata( 1002new FrameworkPropertyMetadata( 1062new FrameworkPropertyMetadata( 1086new FrameworkPropertyMetadata(
System\Windows\Controls\TextBox.cs (14)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox))); 52HeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 53MinHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 54MaxHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 55FontFamilyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 56FontSizeProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 63typographyProperties[i].OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(onTypographyChanged)); 66HorizontalScrollBarVisibilityProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata( 577new FrameworkPropertyMetadata( 607new FrameworkPropertyMetadata( 632new FrameworkPropertyMetadata( 657new FrameworkPropertyMetadata( // Property metadata 689new FrameworkPropertyMetadata(CharacterCasing.Normal /*default value*/), 724new FrameworkPropertyMetadata(0), /*default value*/
System\Windows\Controls\TextSearch.cs (5)
71new FrameworkPropertyMetadata(String.Empty /* default value */)); 103new FrameworkPropertyMetadata((string)String.Empty, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault)); 139new FrameworkPropertyMetadata((string)null)); 146new FrameworkPropertyMetadata(false)); 157new FrameworkPropertyMetadata((object)null /* default value */));
System\Windows\Controls\ToolBar.cs (13)
60ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 62DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(typeof(ToolBar))); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 68KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 69KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 70FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 102new FrameworkPropertyMetadata( 140new FrameworkPropertyMetadata( 164new FrameworkPropertyMetadata( 188new FrameworkPropertyMetadata( 303new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 332new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 375new FrameworkPropertyMetadata(
System\Windows\Controls\ToolBarTray.cs (5)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(typeof(ToolBarTray))); 46KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 73new FrameworkPropertyMetadata( 94new FrameworkPropertyMetadata( 128new FrameworkPropertyMetadata(
System\Windows\Controls\ToolTip.cs (11)
25DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip))); 27BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush)); 28FocusableProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(false)); 58new FrameworkPropertyMetadata( 83new FrameworkPropertyMetadata(null, 114new FrameworkPropertyMetadata(null, 148new FrameworkPropertyMetadata( 195new FrameworkPropertyMetadata(null, 225new FrameworkPropertyMetadata(null, 250new FrameworkPropertyMetadata(null, 274new FrameworkPropertyMetadata(null,
System\Windows\Controls\ToolTipService.cs (14)
27new FrameworkPropertyMetadata((object) null)); 65new FrameworkPropertyMetadata(0d)); // Default Value 98new FrameworkPropertyMetadata(0d)); // Default Value 131new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 163new FrameworkPropertyMetadata((UIElement)null)); // Default Value 195new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 227new FrameworkPropertyMetadata(PlacementMode.Mouse)); // Default Value 259new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 291new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 328new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value 365new FrameworkPropertyMetadata(Int32.MaxValue), // Default Value 398new FrameworkPropertyMetadata(1000), // Default Value 431new FrameworkPropertyMetadata(100), // Default Value 464new FrameworkPropertyMetadata(null)); // Default Value
System\Windows\Controls\TreeView.cs (8)
30DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(typeof(TreeView))); 31VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 34KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 35KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 36VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel)); 55DependencyProperty.RegisterReadOnly("SelectedItem", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null)); 84DependencyProperty.RegisterReadOnly("SelectedValue", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null)); 121new FrameworkPropertyMetadata(
System\Windows\Controls\TreeViewItem.cs (9)
31DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(typeof(TreeViewItem))); 32VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 35KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue)); 36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 37IsTabStopProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 41Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 45AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 68new FrameworkPropertyMetadata( 139new FrameworkPropertyMetadata(
System\Windows\Controls\UserControl.cs (5)
20DefaultStyleKeyProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(typeof(UserControl))); 23FocusableProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 24KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 26HorizontalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(HorizontalAlignment.Stretch)); 27VerticalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(VerticalAlignment.Stretch));
System\Windows\Controls\Validation.cs (7)
64new FrameworkPropertyMetadata( 96new FrameworkPropertyMetadata( 127new FrameworkPropertyMetadata( 173new FrameworkPropertyMetadata( 219new FrameworkPropertyMetadata((DependencyObject)null, 285new FrameworkPropertyMetadata((DependencyObject)null, 621new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.NotDataBindable));
System\Windows\Controls\ViewBox.cs (2)
98new FrameworkPropertyMetadata(Stretch.Uniform, FrameworkPropertyMetadataOptions.AffectsMeasure), 120new FrameworkPropertyMetadata(StretchDirection.Both, FrameworkPropertyMetadataOptions.AffectsMeasure),
System\Windows\Controls\ViewPort3D.cs (2)
94new FrameworkPropertyMetadata( 122new FrameworkPropertyMetadata((object) null));
System\Windows\Controls\VirtualizingPanel.cs (8)
56new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 90new FrameworkPropertyMetadata(VirtualizationMode.Standard, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 122new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged), new CoerceValueCallback(CoerceIsVirtualizingWhenGrouping))); 154new FrameworkPropertyMetadata(ScrollUnit.Item, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 187new FrameworkPropertyMetadata(new VirtualizationCacheLength(1.0), FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged)), new ValidateValueCallback(ValidateCacheSizeBeforeOrAfterViewport)); 222new FrameworkPropertyMetadata(VirtualizationCacheLengthUnit.Page, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 254new FrameworkPropertyMetadata(true)); 286new FrameworkPropertyMetadata(true));
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1802new FrameworkPropertyMetadata(Orientation.Vertical,
System\Windows\Controls\WrapPanel.cs (3)
80new FrameworkPropertyMetadata( 109new FrameworkPropertyMetadata( 136new FrameworkPropertyMetadata(
System\Windows\Data\Binding.cs (1)
168new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits),
System\Windows\Data\BindingExpressionBase.cs (1)
2036new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.None));
System\Windows\Data\CollectionContainer.cs (1)
42new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCollectionPropertyChanged)));
System\Windows\Data\CollectionViewSource.cs (12)
62new FrameworkPropertyMetadata((ICollectionView)null)); 97new FrameworkPropertyMetadata( 160new FrameworkPropertyMetadata( 246new FrameworkPropertyMetadata((bool)false)); 278new FrameworkPropertyMetadata((bool)false, 310new FrameworkPropertyMetadata((bool?)null)); 369new FrameworkPropertyMetadata((bool)false)); 401new FrameworkPropertyMetadata((bool)false, 433new FrameworkPropertyMetadata((bool?)null)); 490new FrameworkPropertyMetadata((bool)false)); 522new FrameworkPropertyMetadata((bool)false, 554new FrameworkPropertyMetadata((bool?)null));
System\Windows\Documents\AnchoredBlock.cs (4)
102new FrameworkPropertyMetadata( 121new FrameworkPropertyMetadata( 140new FrameworkPropertyMetadata( 159new FrameworkPropertyMetadata(
System\Windows\Documents\Block.cs (11)
83new FrameworkPropertyMetadata( 127new FrameworkPropertyMetadata( 149new FrameworkPropertyMetadata( 171new FrameworkPropertyMetadata( 193new FrameworkPropertyMetadata( 214new FrameworkPropertyMetadata( 274new FrameworkPropertyMetadata( 321new FrameworkPropertyMetadata( 366new FrameworkPropertyMetadata( 387new FrameworkPropertyMetadata( 408new FrameworkPropertyMetadata(
System\Windows\Documents\Bold.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Bold), new FrameworkPropertyMetadata(typeof(Bold)));
System\Windows\Documents\CompositionAdorner.cs (1)
31IsEnabledProperty.OverrideMetadata(typeof(CompositionAdorner), new FrameworkPropertyMetadata(false));
System\Windows\Documents\DocumentReference.cs (1)
134new FrameworkPropertyMetadata(
System\Windows\Documents\DocumentSequence.cs (2)
42FocusableProperty.OverrideMetadata(typeof(FixedDocumentSequence), new FrameworkPropertyMetadata(true)); 509new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\Figure.cs (8)
77new FrameworkPropertyMetadata( 99new FrameworkPropertyMetadata( 121new FrameworkPropertyMetadata( 144new FrameworkPropertyMetadata( 167new FrameworkPropertyMetadata( 188new FrameworkPropertyMetadata( 210new FrameworkPropertyMetadata( 231new FrameworkPropertyMetadata(
System\Windows\Documents\FixedDocument.cs (3)
53FocusableProperty.OverrideMetadata(typeof(FixedDocument), new FrameworkPropertyMetadata(true)); 56new FrameworkPropertyMetadata(new PropertyChangedCallback(FixedHyperLink.OnNavigationServiceChanged))); 572new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\FixedPage.cs (10)
51FrameworkPropertyMetadata metadata = new FrameworkPropertyMetadata(FlowDirection.LeftToRight, FrameworkPropertyMetadataOptions.AffectsParentArrange); 406new FrameworkPropertyMetadata((object)null)); 432new FrameworkPropertyMetadata((Brush)Brushes.White, FrameworkPropertyMetadataOptions.AffectsRender)); 449new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 466new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 483new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 501new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 520new FrameworkPropertyMetadata(Rect.Empty)); 539new FrameworkPropertyMetadata(Rect.Empty)); 549new FrameworkPropertyMetadata(
System\Windows\Documents\Floater.cs (3)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(Floater), new FrameworkPropertyMetadata(typeof(Floater))); 83new FrameworkPropertyMetadata( 104new FrameworkPropertyMetadata(
System\Windows\Documents\FlowDocument.cs (17)
87typographyProperties[i].OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(typographyChanged)); 90DefaultStyleKeyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(_typeofThis)); 91FocusableProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(true)); 300new FrameworkPropertyMetadata( 401new FrameworkPropertyMetadata( 426new FrameworkPropertyMetadata( 451new FrameworkPropertyMetadata( 474new FrameworkPropertyMetadata( 499new FrameworkPropertyMetadata( 520new FrameworkPropertyMetadata( 541new FrameworkPropertyMetadata( 567new FrameworkPropertyMetadata( 592new FrameworkPropertyMetadata( 618new FrameworkPropertyMetadata( 644new FrameworkPropertyMetadata( 669new FrameworkPropertyMetadata( 695new FrameworkPropertyMetadata(
System\Windows\Documents\Glyphs.cs (12)
717new FrameworkPropertyMetadata( 744new FrameworkPropertyMetadata(string.Empty, 768new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 791new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 813new FrameworkPropertyMetadata(0.0, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 836new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OriginPropertyChanged))); 859new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OriginPropertyChanged))); 882new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 904new FrameworkPropertyMetadata(StyleSimulations.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 926new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 950new FrameworkPropertyMetadata(0, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 973new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged)));
System\Windows\Documents\Hyperlink.cs (8)
43DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); 45FocusableProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(true)); 146new FrameworkPropertyMetadata((ICommand)null, 260new FrameworkPropertyMetadata( 297new FrameworkPropertyMetadata((IInputElement)null)); 336new FrameworkPropertyMetadata( 393new FrameworkPropertyMetadata(string.Empty)); 867new FrameworkPropertyMetadata(false));
System\Windows\Documents\Inline.cs (1)
94new FrameworkPropertyMetadata(
System\Windows\Documents\Italic.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic)));
System\Windows\Documents\List.cs (4)
39DefaultStyleKeyProperty.OverrideMetadata(typeof(List), new FrameworkPropertyMetadata(typeof(List))); 93new FrameworkPropertyMetadata( 116new FrameworkPropertyMetadata( 140new FrameworkPropertyMetadata(
System\Windows\Documents\ListItem.cs (4)
139new FrameworkPropertyMetadata( 158new FrameworkPropertyMetadata( 177new FrameworkPropertyMetadata( 196new FrameworkPropertyMetadata(
System\Windows\Documents\PageContent.cs (1)
219new FrameworkPropertyMetadata(
System\Windows\Documents\Paragraph.cs (6)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(Paragraph), new FrameworkPropertyMetadata(typeof(Paragraph))); 107new FrameworkPropertyMetadata( 130new FrameworkPropertyMetadata( 154new FrameworkPropertyMetadata( 177new FrameworkPropertyMetadata( 200new FrameworkPropertyMetadata(
System\Windows\Documents\Run.cs (1)
106new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault,
System\Windows\Documents\Table.cs (2)
41MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN))); 546new FrameworkPropertyMetadata(
System\Windows\Documents\TableCell.cs (5)
177new FrameworkPropertyMetadata( 196new FrameworkPropertyMetadata( 215new FrameworkPropertyMetadata( 512new FrameworkPropertyMetadata( 526new FrameworkPropertyMetadata(
System\Windows\Documents\TableColumn.cs (2)
233new FrameworkPropertyMetadata( 245new FrameworkPropertyMetadata(
System\windows\Documents\TextEditor.cs (4)
783new FrameworkPropertyMetadata( 803new FrameworkPropertyMetadata(true)); 813new FrameworkPropertyMetadata(0d)); 1961new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\TextElement.cs (8)
50typographyProperties[i].OverrideMetadata(typeof(TextElement), new FrameworkPropertyMetadata(typographyChanged)); 463new FrameworkPropertyMetadata( 513new FrameworkPropertyMetadata( 558new FrameworkPropertyMetadata( 603new FrameworkPropertyMetadata( 648new FrameworkPropertyMetadata( 697new FrameworkPropertyMetadata( 743new FrameworkPropertyMetadata((Brush)null,
System\Windows\Documents\Typography.cs (43)
1485new FrameworkPropertyMetadata( 1495new FrameworkPropertyMetadata( 1505new FrameworkPropertyMetadata( 1515new FrameworkPropertyMetadata( 1525new FrameworkPropertyMetadata( 1535new FrameworkPropertyMetadata( 1545new FrameworkPropertyMetadata( 1555new FrameworkPropertyMetadata( 1565new FrameworkPropertyMetadata( 1575new FrameworkPropertyMetadata( 1585new FrameworkPropertyMetadata( 1595new FrameworkPropertyMetadata( 1605new FrameworkPropertyMetadata( 1615new FrameworkPropertyMetadata( 1625new FrameworkPropertyMetadata( 1635new FrameworkPropertyMetadata( 1645new FrameworkPropertyMetadata( 1655new FrameworkPropertyMetadata( 1665new FrameworkPropertyMetadata( 1675new FrameworkPropertyMetadata( 1685new FrameworkPropertyMetadata( 1695new FrameworkPropertyMetadata( 1705new FrameworkPropertyMetadata( 1715new FrameworkPropertyMetadata( 1725new FrameworkPropertyMetadata( 1735new FrameworkPropertyMetadata( 1745new FrameworkPropertyMetadata( 1755new FrameworkPropertyMetadata( 1765new FrameworkPropertyMetadata( 1775new FrameworkPropertyMetadata( 1785new FrameworkPropertyMetadata( 1795new FrameworkPropertyMetadata( 1805new FrameworkPropertyMetadata( 1815new FrameworkPropertyMetadata( 1825new FrameworkPropertyMetadata( 1835new FrameworkPropertyMetadata( 1845new FrameworkPropertyMetadata( 1855new FrameworkPropertyMetadata( 1865new FrameworkPropertyMetadata( 1875new FrameworkPropertyMetadata( 1885new FrameworkPropertyMetadata( 1895new FrameworkPropertyMetadata( 1905new FrameworkPropertyMetadata(
System\Windows\Documents\Underline.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline)));
System\Windows\FrameworkContentElement.cs (21)
83NumberSubstitution.CultureSourceProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberCultureSource.Text, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 84NumberSubstitution.CultureOverrideProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 85NumberSubstitution.SubstitutionProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 89AllowDropProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 91Stylus.IsPressAndHoldEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 92Stylus.IsFlicksEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 93Stylus.IsTapFeedbackEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 94Stylus.IsTouchFeedbackEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 122new FrameworkPropertyMetadata( 167new FrameworkPropertyMetadata( 187new FrameworkPropertyMetadata( 825new FrameworkPropertyMetadata(string.Empty)); 844new FrameworkPropertyMetadata((object) null)); 865new FrameworkPropertyMetadata( 888new FrameworkPropertyMetadata(FrameworkElement.DefaultFocusVisualStyle)); 905new FrameworkPropertyMetadata( 937new FrameworkPropertyMetadata( 1077new FrameworkPropertyMetadata((InputScope)null, // default value 1119new FrameworkPropertyMetadata(null, 1196new FrameworkPropertyMetadata(null, 1846new FrameworkPropertyMetadata((ContextMenu) null));
System\Windows\FrameworkElement.cs (39)
145new FrameworkPropertyMetadata( 183new FrameworkPropertyMetadata( 206new FrameworkPropertyMetadata( 234new FrameworkPropertyMetadata( 2375SnapsToDevicePixelsProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsArrange)); 2383AllowDropProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 2385Stylus.IsPressAndHoldEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2386Stylus.IsFlicksEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2387Stylus.IsTapFeedbackEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2388Stylus.IsTouchFeedbackEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2391NumberSubstitution.CultureSourceProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberCultureSource.User, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2392NumberSubstitution.CultureOverrideProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2393NumberSubstitution.SubstitutionProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2402TextElement.FontFamilyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontFamily))); 2403TextElement.FontSizeProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontSize))); 2404TextElement.FontStyleProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle))); 2405TextElement.FontWeightProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight))); 2409new FrameworkPropertyMetadata( 2694new FrameworkPropertyMetadata(null, 2781new FrameworkPropertyMetadata(null, 3183new FrameworkPropertyMetadata( 3207new FrameworkPropertyMetadata( 3235new FrameworkPropertyMetadata((object) null)); 3255new FrameworkPropertyMetadata((InputScope)null, // default value 3423new FrameworkPropertyMetadata( 3481new FrameworkPropertyMetadata( 3507new FrameworkPropertyMetadata( 3533new FrameworkPropertyMetadata( 3560new FrameworkPropertyMetadata( 3586new FrameworkPropertyMetadata( 3612new FrameworkPropertyMetadata( 3638new FrameworkPropertyMetadata( 3722new FrameworkPropertyMetadata( 3756new FrameworkPropertyMetadata( 3788new FrameworkPropertyMetadata( 3839new FrameworkPropertyMetadata(DefaultFocusVisualStyle)); 3859new FrameworkPropertyMetadata( 3893new FrameworkPropertyMetadata( 5904new FrameworkPropertyMetadata((ContextMenu) null));
System\Windows\FrameworkPropertyMetadata.cs (1)
559return new FrameworkPropertyMetadata();
System\Windows\Input\KeyboardNavigation.cs (8)
170new FrameworkPropertyMetadata(new Thickness())); 183new FrameworkPropertyMetadata(Int32.MaxValue)); 195new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 210new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 225new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 240new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 251new FrameworkPropertyMetadata( 275new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Interop\ActiveXHost.cs (3)
74Control.IsTabStopProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 76FocusableProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 80KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Interop\HwndHost.cs (1)
30FocusableProperty.OverrideMetadata(typeof(HwndHost), new FrameworkPropertyMetadata(true));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4573bamlType.DefaultConstructor = delegate() { return new System.Windows.FrameworkPropertyMetadata(); };
System\Windows\Markup\KnownTypes.cs (1)
1288case KnownElements.FrameworkPropertyMetadata: o = new System.Windows.FrameworkPropertyMetadata(); break;
System\Windows\Markup\XmlAttributeProperties.cs (4)
50new FrameworkPropertyMetadata("default")); 54new FrameworkPropertyMetadata((object)null, FrameworkPropertyMetadataOptions.Inherits)); 58new FrameworkPropertyMetadata(XamlReaderHelper.DefinitionNamespaceURI, 63new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
System\Windows\Media\TextOptions.cs (2)
29new FrameworkPropertyMetadata( 48new FrameworkPropertyMetadata(
System\Windows\Navigation\NavigationService.cs (1)
1313new FrameworkPropertyMetadata(
System\Windows\Navigation\NavigationWindow.cs (5)
95new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 144new FrameworkPropertyMetadata(typeof(NavigationWindow))); 148new FrameworkPropertyMetadata( 154new FrameworkPropertyMetadata(new PropertyChangedCallback(OnSandboxExternalContentPropertyChanged), 552new FrameworkPropertyMetadata(
System\Windows\Shapes\Ellipse.cs (1)
35StretchProperty.OverrideMetadata(typeof(Ellipse), new FrameworkPropertyMetadata(Stretch.Fill));
System\Windows\Shapes\Line.cs (4)
40new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender), 64new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender), 88new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender), 112new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender),
System\Windows\Shapes\Path.cs (1)
44new FrameworkPropertyMetadata(
System\Windows\Shapes\Polygon.cs (1)
66new FrameworkPropertyMetadata(
System\Windows\Shapes\Polyline.cs (1)
65new FrameworkPropertyMetadata(
System\Windows\Shapes\Rectangle.cs (3)
36StretchProperty.OverrideMetadata(typeof(Rectangle), new FrameworkPropertyMetadata(Stretch.Fill)); 49new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender)); 75new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender));
System\Windows\Shapes\Shape.cs (10)
47new FrameworkPropertyMetadata(Stretch.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange)); 121new FrameworkPropertyMetadata( 144new FrameworkPropertyMetadata( 169new FrameworkPropertyMetadata( 192new FrameworkPropertyMetadata( 216new FrameworkPropertyMetadata( 240new FrameworkPropertyMetadata( 263new FrameworkPropertyMetadata( 286new FrameworkPropertyMetadata( 308new FrameworkPropertyMetadata(
System\Windows\Shell\WindowChrome.cs (3)
109new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits)); 141new FrameworkPropertyMetadata(ResizeGripDirection.None, FrameworkPropertyMetadataOptions.Inherits)); 233new FrameworkPropertyMetadata(true));
System\Windows\Window.cs (30)
51HeightProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnHeightChanged))); 52MinHeightProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMinHeightChanged))); 53MaxHeightProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMaxHeightChanged))); 54WidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWidthChanged))); 55MinWidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMinWidthChanged))); 56MaxWidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMaxWidthChanged))); 64VisibilityProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Visibility.Collapsed, new PropertyChangedCallback(_OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility))); 66IsTabStopProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 68KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 69KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 70FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 72DefaultStyleKeyProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(typeof(Window))); 75FlowDirectionProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnFlowDirectionChanged))); 78RenderTransformProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Transform.Identity, new PropertyChangedCallback(_OnRenderTransformChanged), new CoerceValueCallback(CoerceRenderTransform))); 79ClipToBoundsProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, new PropertyChangedCallback(_OnClipToBoundsChanged), new CoerceValueCallback(CoerceClipToBounds))); 785new FrameworkPropertyMetadata( 822new FrameworkPropertyMetadata(String.Empty, 858new FrameworkPropertyMetadata( 913new FrameworkPropertyMetadata( 961new FrameworkPropertyMetadata( 1012new FrameworkPropertyMetadata( 1150new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, 1187new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1415new FrameworkPropertyMetadata( 1471new FrameworkPropertyMetadata( 1513new FrameworkPropertyMetadata(ResizeMode.CanResize, 1556new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 1590new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, 7378new FrameworkPropertyMetadata((IWindowService)null,
PresentationFramework.Aero (35)
Microsoft\Windows\Themes\BulletChrome.cs (7)
26IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged))); 52new FrameworkPropertyMetadata( 72new FrameworkPropertyMetadata( 92new FrameworkPropertyMetadata( 314new FrameworkPropertyMetadata( 469new FrameworkPropertyMetadata( 557new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ButtonChrome.cs (7)
26IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 47new FrameworkPropertyMetadata( 67new FrameworkPropertyMetadata( 87new FrameworkPropertyMetadata( 176new FrameworkPropertyMetadata( 267new FrameworkPropertyMetadata( 366new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
26IsEnabledProperty.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 47new FrameworkPropertyMetadata( 67new FrameworkPropertyMetadata( 86new FrameworkPropertyMetadata( 106new FrameworkPropertyMetadata( 172new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (4)
25IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged))); 47new FrameworkPropertyMetadata( 188new FrameworkPropertyMetadata( 292new FrameworkPropertyMetadata(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 43DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 58DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 73DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 88DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 103DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 145DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
37new FrameworkPropertyMetadata( 59new FrameworkPropertyMetadata(
PresentationFramework.Aero2 (35)
Microsoft\Windows\Themes\BulletChrome.cs (7)
26IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged))); 52new FrameworkPropertyMetadata( 72new FrameworkPropertyMetadata( 92new FrameworkPropertyMetadata( 314new FrameworkPropertyMetadata( 469new FrameworkPropertyMetadata( 557new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ButtonChrome.cs (7)
26IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 47new FrameworkPropertyMetadata( 67new FrameworkPropertyMetadata( 87new FrameworkPropertyMetadata( 176new FrameworkPropertyMetadata( 267new FrameworkPropertyMetadata( 366new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
26IsEnabledProperty.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 47new FrameworkPropertyMetadata( 67new FrameworkPropertyMetadata( 86new FrameworkPropertyMetadata( 106new FrameworkPropertyMetadata( 172new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (4)
25IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged))); 47new FrameworkPropertyMetadata( 188new FrameworkPropertyMetadata( 292new FrameworkPropertyMetadata(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 43DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 58DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 73DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 88DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 103DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 145DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
37new FrameworkPropertyMetadata( 59new FrameworkPropertyMetadata(
PresentationFramework.AeroLite (15)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
24IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 46new FrameworkPropertyMetadata( 96new FrameworkPropertyMetadata( 116new FrameworkPropertyMetadata(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 43DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 58DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 73DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 88DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 103DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 145DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
37new FrameworkPropertyMetadata( 59new FrameworkPropertyMetadata(
PresentationFramework.Classic (17)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (5)
127SnapsToDevicePixelsProperty.OverrideMetadata(typeof(ClassicBorderDecorator), new FrameworkPropertyMetadata(true)); 145new FrameworkPropertyMetadata( 461new FrameworkPropertyMetadata( 535new FrameworkPropertyMetadata( 559new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
30DependencyProperty.Register("ControlBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 43DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 58DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 73DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 88DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 103DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 145DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
37new FrameworkPropertyMetadata( 59new FrameworkPropertyMetadata(
PresentationFramework.Luna (32)
Microsoft\Windows\Themes\ButtonChrome.cs (7)
149IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 173new FrameworkPropertyMetadata( 203new FrameworkPropertyMetadata( 222new FrameworkPropertyMetadata( 242new FrameworkPropertyMetadata( 263new FrameworkPropertyMetadata( 284new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
37new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (6)
25IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 44new FrameworkPropertyMetadata( 64new FrameworkPropertyMetadata( 86new FrameworkPropertyMetadata( 151new FrameworkPropertyMetadata( 170new FrameworkPropertyMetadata(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
21IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 41new FrameworkPropertyMetadata( 61new FrameworkPropertyMetadata( 97new FrameworkPropertyMetadata( 117new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata( 158new FrameworkPropertyMetadata(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 43DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 58DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 73DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 88DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 103DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 145DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
37new FrameworkPropertyMetadata( 59new FrameworkPropertyMetadata(
PresentationFramework.Royale (29)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
139IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 161new FrameworkPropertyMetadata( 180new FrameworkPropertyMetadata( 200new FrameworkPropertyMetadata( 221new FrameworkPropertyMetadata( 242new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (5)
25IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 46new FrameworkPropertyMetadata( 68new FrameworkPropertyMetadata( 133new FrameworkPropertyMetadata( 152new FrameworkPropertyMetadata(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
21IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 41new FrameworkPropertyMetadata( 61new FrameworkPropertyMetadata( 97new FrameworkPropertyMetadata( 117new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata( 158new FrameworkPropertyMetadata(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (9)
25SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true)); 43DependencyProperty.Register("IsHovered", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 58DependencyProperty.Register("IsPressed", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 73DependencyProperty.Register("IsClickable", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender | FrameworkPropertyMetadataOptions.AffectsArrange)); 88DependencyProperty.Register("SortDirection", typeof(ListSortDirection?), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender)); 103DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender)); 119DependencyProperty.Register("Orientation", typeof(Orientation), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Orientation.Vertical, FrameworkPropertyMetadataOptions.AffectsRender)); 145DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(null)); 160DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridHeaderBorder), new FrameworkPropertyMetadata(Visibility.Visible));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (2)
37new FrameworkPropertyMetadata( 59new FrameworkPropertyMetadata(
PresentationUI (3)
MS\Internal\Documents\Application\PageTextBox.cs (1)
57new FrameworkPropertyMetadata(
MS\Internal\Documents\Application\ZoomComboBox.cs (2)
40IsTextSearchEnabledProperty.OverrideMetadata(typeof(ZoomComboBox), new FrameworkPropertyMetadata(false)); 79new FrameworkPropertyMetadata(
System.Windows.Controls.Ribbon (442)
Microsoft\Windows\Controls\KeyTipControl.cs (4)
20DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 21IsHitTestVisibleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 22FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 55new FrameworkPropertyMetadata(
Microsoft\Windows\Controls\KeyTipService.cs (4)
55DependencyProperty.RegisterAttached("KeyTip", typeof(string), typeof(KeyTipService), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged))); 112DependencyProperty.RegisterAttached("IsKeyTipScope", typeof(bool), typeof(KeyTipService), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsKeyTipScopeChanged))); 133DependencyProperty.RegisterAttached("KeyTipStyle", typeof(Style), typeof(KeyTipService), new FrameworkPropertyMetadata(null)); 467new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipAutoGenerationElementsChanged)));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (2)
43OrientationProperty.OverrideMetadata(typeof(RibbonGroupsPanel), new FrameworkPropertyMetadata(Orientation.Horizontal, null, new CoerceValueCallback(CoerceOrientation))); 278DependencyProperty.RegisterReadOnly("IsStarLayoutPass", typeof(bool), typeof(RibbonGroupsPanel), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
22OrientationProperty.OverrideMetadata(typeof(RibbonMenuItemsPanel), new FrameworkPropertyMetadata(Orientation.Vertical));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (31)
94DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 95ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabsPanel))))); 96 FocusManager.IsFocusScopeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 97BorderBrushProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnBorderBrushChanged))); 102ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 117KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 118KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 224new FrameworkPropertyMetadata(false)); 249new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnApplicationMenuChanged))); 268new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnQuickAccessToolBarChanged))); 281new FrameworkPropertyMetadata(null)); 294new FrameworkPropertyMetadata(null)); 316new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsMinimizedChanged), new CoerceValueCallback(CoerceIsMinimized))); 335new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsDropDownOpenChanged), new CoerceValueCallback(OnCoerceIsDropDownOpen))); 351new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsCollapsedChanged), new CoerceValueCallback(CoerceIsCollapsed))); 370new FrameworkPropertyMetadata(null, null, new CoerceValueCallback(OnCoerceTitle))); 383new FrameworkPropertyMetadata(null)); 402new FrameworkPropertyMetadata(true)); 420new FrameworkPropertyMetadata((IEnumerable)null, new PropertyChangedCallback(OnContextualTabGroupsSourceChanged))); 447DependencyProperty.Register("ContextualTabGroupHeaderTemplate", typeof(DataTemplate), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyContextualTabGroupPropertyChanged))); 456DependencyProperty.Register("ContextualTabGroupStyle", typeof(Style), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyContextualTabGroupPropertyChanged))); 475new FrameworkPropertyMetadata(null)); 494new FrameworkPropertyMetadata(null)); 513new FrameworkPropertyMetadata(null)); 532new FrameworkPropertyMetadata(null)); 551new FrameworkPropertyMetadata(null)); 570new FrameworkPropertyMetadata(null)); 590new FrameworkPropertyMetadata(null)); 609new FrameworkPropertyMetadata(null)); 621DependencyProperty.Register("TabHeaderStyle", typeof(Style), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyTabHeaderPropertyChanged))); 631DependencyProperty.Register("TabHeaderTemplate", typeof(DataTemplate), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyTabHeaderPropertyChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (12)
80DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 82RibbonControlService.IsInControlGroupPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 83RibbonControlService.IsInQuickAccessToolBarPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 84RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 86RibbonMenuButton.CanUserResizeVerticallyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 87RibbonMenuButton.CanUserResizeHorizontallyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 111new FrameworkPropertyMetadata(null)); 129new FrameworkPropertyMetadata(null)); 148new FrameworkPropertyMetadata(null)); 167new FrameworkPropertyMetadata(null)); 186new FrameworkPropertyMetadata(null)); 205new FrameworkPropertyMetadata(null));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenuItem.cs (3)
38DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 39IsSubmenuOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceIsSubmenuOpen))); 200new FrameworkPropertyMetadata(RibbonApplicationMenuItemLevel.Top));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationSplitMenuItem.cs (3)
36DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 37IsSubmenuOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceIsSubmenuOpen))); 198new FrameworkPropertyMetadata(RibbonApplicationMenuItemLevel.Top));
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (14)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 45FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceFocusable))); 46ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 47ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 48CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 49ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 50ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 121RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 136RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 151RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 166RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 181RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 196RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 528new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (14)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 45FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceFocusable))); 46ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 47ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 48CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 49ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 50ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 121RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 136RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 151RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 166RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 181RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 196RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 544new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (10)
49DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 50IsTextSearchEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 77new FrameworkPropertyMetadata(false, 101new FrameworkPropertyMetadata( 226new FrameworkPropertyMetadata(0.0d)); 241new FrameworkPropertyMetadata(String.Empty)); 263new FrameworkPropertyMetadata((DataTemplate)null)); 281new FrameworkPropertyMetadata((DataTemplateSelector)null)); 299new FrameworkPropertyMetadata((String)null)); 320new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonContentPresenter.cs (4)
43new FrameworkPropertyMetadata(OnIsInQuickAccessToolBarChanged), 47new FrameworkPropertyMetadata(OnIsInControlGroupChanged), 51new FrameworkPropertyMetadata(OnControlSizeDefinitionChanged, CoerceControlSizeDefinition)); 54new FrameworkPropertyMetadata(OnRibbonChanged));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (3)
46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47IsOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsOpenChanged))); 52ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (8)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(typeof(RibbonContextualTabGroup))); 52VisibilityProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(Visibility.Collapsed, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility))); 53FocusableProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(false)); 55AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 73new FrameworkPropertyMetadata( 118new FrameworkPropertyMetadata( 141new FrameworkPropertyMetadata( 167new FrameworkPropertyMetadata(
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (6)
32DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 33ItemTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, CoerceItemTemplate)); 34ItemContainerStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, CoerceItemContainerStyle)); 35VisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceVisibility))); 36FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 41ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(itemsPanel));
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (7)
48DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 49FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 52new FrameworkPropertyMetadata(OnIsInQuickAccessToolBarChanged), 56new FrameworkPropertyMetadata(OnIsInControlGroupChanged), 60new FrameworkPropertyMetadata(OnControlSizeDefinitionChanged, CoerceControlSizeDefinition)); 63new FrameworkPropertyMetadata(OnItemForItemContainerChanged)); 66AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonControl), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (5)
36DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 37FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 43ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 45RibbonControlService.DefaultControlSizeDefinitionProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceDefaultControlSizeDefinition))); 66RibbonControlService.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonControlGroup), new FrameworkPropertyMetadata(OnControlSizeDefinitionChanged));
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (27)
39new FrameworkPropertyMetadata(null, OnLargeImageSourceChanged)); 70new FrameworkPropertyMetadata(null, OnSmallImageSourceChanged)); 105new FrameworkPropertyMetadata(null, OnLabelChanged)); 139DependencyProperty.RegisterAttached("ToolTipTitle", typeof(string), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 164DependencyProperty.RegisterAttached("ToolTipDescription", typeof(string), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 189DependencyProperty.RegisterAttached("ToolTipImageSource", typeof(ImageSource), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 214DependencyProperty.RegisterAttached("ToolTipFooterTitle", typeof(string), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 239DependencyProperty.RegisterAttached("ToolTipFooterDescription", typeof(string), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 264DependencyProperty.RegisterAttached("ToolTipFooterImageSource", typeof(ImageSource), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 298new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits)); 331new FrameworkPropertyMetadata(null)); 359new FrameworkPropertyMetadata(null)); 387new FrameworkPropertyMetadata(null)); 415new FrameworkPropertyMetadata(null)); 443new FrameworkPropertyMetadata(null)); 471new FrameworkPropertyMetadata(null)); 499new FrameworkPropertyMetadata(null)); 527new FrameworkPropertyMetadata(null)); 555new FrameworkPropertyMetadata(new CornerRadius())); 591new FrameworkPropertyMetadata(null, 660new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnDefaultControlSizeDefinitionChanged), new CoerceValueCallback(CoerceDefaultControlSizeDefinition))); 732new FrameworkPropertyMetadata(false)); 770new FrameworkPropertyMetadata(false, RibbonHelper.OnCanAddToQuickAccessToolBarDirectlyChanged, RibbonHelper.OnCoerceCanAddToQuickAccessToolBarDirectly)); 793new FrameworkPropertyMetadata(false, new PropertyChangedCallback(RibbonHelper.OnIsInQATChanged))); 824new FrameworkPropertyMetadata(null)); 853new FrameworkPropertyMetadata(null, RibbonHelper.OnCoerceQuickAccessToolBarId)); 896DependencyProperty.RegisterAttachedReadOnly("ShowKeyboardCues", typeof(bool), typeof(RibbonControlService), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (6)
34DependencyProperty.Register("ImageSize", typeof(RibbonImageSize), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(RibbonImageSize.Large)); 44DependencyProperty.Register("IsLabelVisible", typeof(bool), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(true)); 57new FrameworkPropertyMetadata(false)); 70new FrameworkPropertyMetadata(RibbonControlLength.Auto), 84new FrameworkPropertyMetadata(new RibbonControlLength(0)), 98new FrameworkPropertyMetadata(new RibbonControlLength(double.PositiveInfinity)),
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (2)
37DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 38RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (48)
60DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 61ItemContainerStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemContainerStyle))); 62ItemTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemTemplate))); 64ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 65ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 66ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 67ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 71ScrollViewer.VerticalScrollBarVisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null)); 157DependencyProperty.Register("CurrentFilter", typeof(object), typeof(RibbonGallery), new FrameworkPropertyMetadata(_allFilter, OnCurrentFilterChanged)); 169DependencyProperty.Register("CurrentFilterStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, null, OnCoerceCurrentFilterStyle)); 230new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentFilterTemplateChanged), new CoerceValueCallback(OnCoerceCurrentFilterTemplate))); 425new FrameworkPropertyMetadata(1, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnLayoutPropertyChange)), new ValidateValueCallback(IsMinMaxColumnCountValid)); 450new FrameworkPropertyMetadata( 486new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnLayoutPropertyChange))); 515new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsMeasure,new PropertyChangedCallback(OnLayoutPropertyChange))); 532new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnLayoutPropertyChange))); 547new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnLayoutPropertyChange))); 668new FrameworkPropertyMetadata( 772new FrameworkPropertyMetadata( 889new FrameworkPropertyMetadata( 916new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnIsSynchronizedWithCurrentItemChanged))); 1575new FrameworkPropertyMetadata( 1829DependencyProperty.Register("CanUserFilter", typeof(bool), typeof(RibbonGallery), new FrameworkPropertyMetadata(false)); 1845DependencyProperty.Register("FilterItemContainerStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemContainerStyleChanged)); 1860DependencyProperty.Register("AllFilterItemContainerStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemContainerStyleChanged)); 1888new FrameworkPropertyMetadata(OnFilterItemContainerStyleSelectorChanged, OnCoerceFilterItemContainerStyleSelector)); 1960DependencyProperty.Register("FilterMenuButtonStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null)); 1975DependencyProperty.Register("FilterPaneContent", typeof(object), typeof(RibbonGallery), new FrameworkPropertyMetadata(null)); 1990DependencyProperty.Register("FilterPaneContentTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(null)); 2005DependencyProperty.Register("FilterItemTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemTemplateChanged)); 2020DependencyProperty.Register("AllFilterItemTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemTemplateChanged)); 2047new FrameworkPropertyMetadata(OnFilterItemTemplateSelectorChanged, OnCoerceFilterItemTemplateSelector)); 2267new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnRibbonIsSelectedChanged))); 2451DependencyProperty.Register("CategoryTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCategoryTemplateChanged))); 2486DependencyProperty.Register("CategoryStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCategoryStyleChanged))); 2515DependencyProperty.Register("GalleryItemTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyGalleryItemTemplateOrStylePropertyChanged))); 2524DependencyProperty.Register("GalleryItemStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyGalleryItemTemplateOrStylePropertyChanged))); 2810new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCommandChanged))); 2829new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCommandParameterChanged))); 2848new FrameworkPropertyMetadata(null)); 2867new FrameworkPropertyMetadata(null)); 2987RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3002RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3017RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3032RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3047RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3062RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3188new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (10)
50DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 51ItemTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceItemTemplate))); 52ItemContainerStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceItemContainerStyle))); 54FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 56AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 301public static readonly DependencyProperty MinColumnCountProperty = RibbonGallery.MinColumnCountProperty.AddOwner(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(1, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceMinColumnCount))); 333public static readonly DependencyProperty MaxColumnCountProperty = RibbonGallery.MaxColumnCountProperty.AddOwner(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(int.MaxValue, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceMaxColumnCount))); 364new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnNotifyPropertyChanged))); 388public static readonly DependencyProperty IsSharedColumnSizeScopeProperty = RibbonGallery.IsSharedColumnSizeScopeProperty.AddOwner(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnNotifyPropertyChanged))); 626new FrameworkPropertyMetadata(Visibility.Visible));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (15)
41DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 42ContentProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnContentChanged), new CoerceValueCallback(CoerceContent))); 43ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 44ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 46AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 163new FrameworkPropertyMetadata( 212new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsHighlightedChanged))); 262new FrameworkPropertyMetadata( 619RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 634RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 649RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 664RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 679RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 694RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 743KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged), new CoerceValueCallback(CoerceKeyTip)));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (21)
60DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 61ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupItemsPanel))))); 62ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 63HeaderProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnHeaderChanged))); 64RibbonControlService.IsInQuickAccessToolBarPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsInQuickAccessToolBarChanged))); 65ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTip))); 66ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 67ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 68FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 69ForegroundProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnForegroundChanged))); 71AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 238new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsCollapsedChanged), new CoerceValueCallback(CoerceIsCollapsed))); 281new FrameworkPropertyMetadata(new PropertyChangedCallback(OnGroupSizeDefinitionsChanged), new CoerceValueCallback(CoerceGroupSizeDefinitions))); 321RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 336RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 351RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 366RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 381RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 396RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 605new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsDropDownOpenChanged), new CoerceValueCallback(CoerceIsDropDownOpen))); 1533new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGroupSizeDefinition.cs (1)
51new FrameworkPropertyMetadata(null));
Microsoft\Windows\Controls\Ribbon\RibbonGroupSizeDefinitionBase.cs (1)
23DependencyProperty.Register("IsCollapsed", typeof(bool), typeof(RibbonGroupSizeDefinitionBase), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonGroupTemplateSizeDefinition.cs (1)
30new FrameworkPropertyMetadata(null));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (23)
52DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 56ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 58ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 59ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 60ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 61ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 62IsMainMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 72IsInControlGroupProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnPseudoInheritedPropertyChanged), RibbonControlService.IsInControlGroupPropertyKey); 75FocusManager.IsFocusScopeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 79KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 140RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 155RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 170RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 185RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 200RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 215RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 429new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsDropDownOpenChanged), new CoerceValueCallback(CoerceIsDropDownOpen))); 440new FrameworkPropertyMetadata(double.NaN, 458new FrameworkPropertyMetadata(false, 475new FrameworkPropertyMetadata(false, 493new FrameworkPropertyMetadata(false, 510new FrameworkPropertyMetadata(false)); 1628new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (26)
54ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 56DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 57ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 58ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 59CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 60ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 61ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 62IsSubmenuOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsSubmenuOpenChanged))); 63IsCheckedProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsCheckedChanged))); 64HasGalleryProperty.OverrideMetadata(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnHasGalleryChanged)), RibbonMenuButton.HasGalleryPropertyKey); 65HeaderProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnHeaderChanged), new CoerceValueCallback(CoerceHeader))); 84RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 99RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 114RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 129RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 144RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 159RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 181new FrameworkPropertyMetadata(new PropertyChangedCallback(OnImageSourceChanged))); 204new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceQuickAccessToolBarImageSource))); 239new FrameworkPropertyMetadata(false)); 255new FrameworkPropertyMetadata(false, 270new FrameworkPropertyMetadata(false, 286new FrameworkPropertyMetadata(double.NaN, 1471new FrameworkPropertyMetadata(false, 1734new FrameworkPropertyMetadata(true)); 1763new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged), new CoerceValueCallback(CoerceKeyTip)));
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (6)
102DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 103FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 110KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 157new FrameworkPropertyMetadata( 224new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnHasOverflowItemsChanged))); 252new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (14)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 45FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceFocusable))); 46ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 47ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 48CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 49ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 50ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 121RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 136RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 151RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 166RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 181RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 196RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 560new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
37DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (18)
42DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 43BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 44ControlSizeDefinitionProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnBorderThicknessChanged))); 45IsInControlGroupProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnBorderThicknessChanged)), RibbonControlService.IsInControlGroupPropertyKey); 126new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 144new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 162new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 180new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 198new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 216new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 284new FrameworkPropertyMetadata(RibbonSplitButtonLabelPosition.Header)); 296new FrameworkPropertyMetadata(false)); 317new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(OnIsCheckedChanged))); 350new FrameworkPropertyMetadata((ICommand)null, RibbonHelper.OnCommandChanged)); 369new FrameworkPropertyMetadata((object)null)); 391new FrameworkPropertyMetadata((IInputElement)null)); 486new FrameworkPropertyMetadata(null)); 519DependencyProperty.Register("HeaderKeyTip", typeof(string), typeof(RibbonSplitButton), new FrameworkPropertyMetadata(null));
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (10)
34DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 35BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 36IsCheckedProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsCheckedChanged))); 49new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 66new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 83new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 100new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 117new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 134new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 323new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsPressedInternalChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (15)
43IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 45ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupsPanel))))); 46HeaderProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnHeaderChanged))); 47VisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility))); 48HeaderTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnNotifyHeaderPropertyChanged), new CoerceValueCallback(CoerceHeaderTemplate))); 49HeaderTemplateSelectorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnNotifyHeaderPropertyChanged))); 50HeaderStringFormatProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnNotifyHeaderPropertyChanged))); 51FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 54KeyTipService.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnKeyTipChanged))); 56AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 94new FrameworkPropertyMetadata(null)); 110new FrameworkPropertyMetadata(false, 130DependencyProperty.RegisterReadOnly("ContextualTabGroup", typeof(RibbonContextualTabGroup), typeof(RibbonTab), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyHeaderPropertyChanged))); 148DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(RibbonTab), new FrameworkPropertyMetadata(null, OnNotifyHeaderPropertyChanged, CoerceHeaderStyle));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (14)
36IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceIsEnabled))); 37DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 38VisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceVisibility))); 39ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 40StyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceStyle)); 41ContentProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceContent)); 42ContentTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceContentTemplate)); 43ContentTemplateSelectorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceContentTemplateSelector)); 44ContentStringFormatProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceStringFormat)); 45KeyTipService.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceKeyTip))); 49AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 66DependencyProperty.RegisterReadOnly("IsRibbonTabSelected", typeof(bool), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsRibbonTabSelectedChanged), new CoerceValueCallback(OnCoerceIsRibbonTabSelected))); 81DependencyProperty.RegisterReadOnly("ContextualTabGroup", typeof(RibbonContextualTabGroup), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(null, null, new CoerceValueCallback(CoerceContextualTabGroup))); 92DependencyProperty.RegisterReadOnly("IsContextualTab", typeof(bool), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceIsContextualTab)));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (5)
33ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabHeadersPanel))))); 34DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(RibbonTabHeaderItemsControl))); 35FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 36KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 37KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (16)
45DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 46ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 47ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 48ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 49ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 100new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCommandChanged))); 119new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCommandParameterChanged))); 138new FrameworkPropertyMetadata(null)); 316RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 331RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 346RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 361RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 376RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 391RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 598new FrameworkPropertyMetadata(0.0d)); 649new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (15)
45DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 46FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceFocusable))); 47ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 48ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 49CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 50ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 51ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 55IsCheckedProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsCheckedChanged))); 128RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 143RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 158RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 173RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 188RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 203RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 567new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (6)
39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 40IsOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsOpenChanged), new CoerceValueCallback(CoerceIsOpen))); 41PlacementTargetProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnPlacementTargetPropertyChanged)); 112DependencyProperty.Register("Title", typeof(string), typeof(RibbonToolTip), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnToolTipHeaderPropertyChanged))); 127DependencyProperty.Register("Description", typeof(string), typeof(RibbonToolTip), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnToolTipHeaderPropertyChanged))); 142DependencyProperty.Register("ImageSource", typeof(ImageSource), typeof(RibbonToolTip), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnToolTipHeaderPropertyChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (5)
43DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 44FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 204new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.AffectsMeasure)); 214new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender)); 235new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure));
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (2)
50DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(Ribbon), "RibbonWindowStyle"))); 53Window.TitleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(String.Empty, new PropertyChangedCallback(OnTitleChangedCallback)));
Microsoft\Windows\Controls\TextSearchInternal.cs (3)
72new FrameworkPropertyMetadata((string)null)); 79new FrameworkPropertyMetadata(false)); 92new FrameworkPropertyMetadata((object)null /* default value */));
WindowsFormsIntegration (5)
System\Windows\Integration\ElementHost.cs (3)
1486new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue)); 1489new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue)); 1515new FrameworkPropertyMetadata(
System\Windows\Integration\WindowsFormsHost.cs (2)
47FocusableProperty.OverrideMetadata(typeof(WindowsFormsHost), new FrameworkPropertyMetadata(true)); 48SWC.Control.IsTabStopProperty.OverrideMetadata(typeof(WindowsFormsHost), new FrameworkPropertyMetadata(true));
52 references to FrameworkPropertyMetadata
PresentationFramework (52)
MS\Internal\DataStreams.cs (2)
92FrameworkPropertyMetadata metadata = localValueEntry.Property.GetMetadata(element.DependencyObjectType) as FrameworkPropertyMetadata;
System\Windows\Controls\PasswordBox.cs (2)
482FrameworkPropertyMetadata fmetadata = e.Property.GetMetadata(typeof(PasswordBox)) as FrameworkPropertyMetadata;
System\Windows\Controls\TextBlock.cs (2)
1606FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
System\Windows\Controls\TextBox.cs (2)
1018FrameworkPropertyMetadata fmetadata = e.Property.GetMetadata(typeof(TextBox)) as FrameworkPropertyMetadata;
System\Windows\Data\BindingExpression.cs (2)
395FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
System\Windows\Data\BindingExpressionBase.cs (4)
1046FrameworkPropertyMetadata fwMetaData = TargetProperty.GetMetadata(target.DependencyObjectType) as FrameworkPropertyMetadata; 2499internal void ResolvePropertyDefaultSettings(BindingMode mode, UpdateSourceTrigger updateTrigger, FrameworkPropertyMetadata fwMetaData) 2548internal UpdateSourceTrigger GetDefaultUpdateSourceTrigger(FrameworkPropertyMetadata fwMetaData)
System\Windows\Data\MultiBindingExpression.cs (2)
157FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
System\Windows\Data\PriorityBindingExpression.cs (2)
144FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
System\Windows\Documents\FixedPage.cs (1)
51FrameworkPropertyMetadata metadata = new FrameworkPropertyMetadata(FlowDirection.LeftToRight, FrameworkPropertyMetadataOptions.AffectsParentArrange);
System\Windows\Documents\FlowDocument.cs (2)
786FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
System\Windows\Documents\TextElement.cs (2)
953FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
System\Windows\FrameworkContentElement.cs (4)
543FrameworkPropertyMetadata fmetadata = metadata as FrameworkPropertyMetadata; 751FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
System\Windows\FrameworkElement.cs (5)
1899FrameworkPropertyMetadata fmetadata = metadata as FrameworkPropertyMetadata; 1955private object GetInheritableValue(DependencyProperty dp, FrameworkPropertyMetadata fmetadata) 2129FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
System\Windows\FrameworkPropertyMetadata.cs (2)
576FrameworkPropertyMetadata fbaseMetadata = baseMetadata as FrameworkPropertyMetadata;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
322case 228: t = () => typeof(FrameworkPropertyMetadata); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4571typeof(System.Windows.FrameworkPropertyMetadata),
System\Windows\Markup\BamlRecordReader.cs (2)
934FrameworkPropertyMetadata metadata = ParserContext != null && ParserContext.SkipJournaledProperties ? 935dependencyProperty.GetMetadata(dependencyObject.DependencyObjectType) as FrameworkPropertyMetadata
System\Windows\Markup\KnownTypes.cs (1)
5782case KnownElements.FrameworkPropertyMetadata: t = typeof(System.Windows.FrameworkPropertyMetadata); break;
System\Windows\Markup\WpfXamlLoader.cs (2)
278FrameworkPropertyMetadata metadata = prop.GetMetadata(stack.CurrentFrame.Type.UnderlyingType) as FrameworkPropertyMetadata;
System\Windows\TreeChangeInfo.cs (2)
114FrameworkPropertyMetadata fMetadata = (FrameworkPropertyMetadata)metadata;
System\Windows\TreeWalkHelper.cs (9)
273FrameworkPropertyMetadata fMetadata = (FrameworkPropertyMetadata)metadata; 308FrameworkPropertyMetadata fMetadata, 1130FrameworkPropertyMetadata metadata = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata; 1182FrameworkPropertyMetadata metadata = dp.GetMetadata(fe.DependencyObjectType) as FrameworkPropertyMetadata; 1213FrameworkPropertyMetadata metadata = dp.GetMetadata(fce.DependencyObjectType) as FrameworkPropertyMetadata;