1 type derived from FrameworkPropertyMetadata
PresentationFramework (1)
System\Windows\FrameworkReadOnlyPropertyMetadata.cs (1)
9internal class ReadOnlyFrameworkPropertyMetadata : FrameworkPropertyMetadata
1864 instantiations of FrameworkPropertyMetadata
PresentationFramework (1251)
MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (1)
327new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits));
MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
464new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior));
MS\Internal\AppModel\JournalNavigationScope.cs (4)
45new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 53new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 63new FrameworkPropertyMetadata((IEnumerable)null)); 71new FrameworkPropertyMetadata((IEnumerable)null));
MS\Internal\Documents\IFlowDocumentViewer.cs (1)
895CanGoToNextPagePropertyKey.OverrideMetadata(typeof(ReaderTwoPageViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, null, new CoerceValueCallback(CoerceCanGoToNextPage)));
MS\Internal\Documents\TextBoxView.cs (1)
39MarginProperty.OverrideMetadata(typeof(TextBoxView), new FrameworkPropertyMetadata(new Thickness(CaretElement.BidiCaretIndicatorWidth, 0, CaretElement.BidiCaretIndicatorWidth, 0)));
MS\Internal\Documents\UndoManager.cs (1)
1159new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
System\ComponentModel\DesignerProperties.cs (1)
41new FrameworkPropertyMetadata(BooleanBoxes.FalseBox,
System\Windows\Annotations\AnnotationService.cs (2)
547internal static readonly DependencyProperty ChooserProperty = DependencyProperty.RegisterAttached("Chooser", typeof(AnnotationComponentChooser), typeof(AnnotationService), new FrameworkPropertyMetadata(new AnnotationComponentChooser(), FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior)); 709internal static readonly DependencyProperty ServiceProperty = DependencyProperty.RegisterAttached("Service", typeof(AnnotationService), typeof(AnnotationService), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.OverridesInheritanceBehavior));
System\Windows\Controls\AccessText.cs (5)
135new FrameworkPropertyMetadata( 253new FrameworkPropertyMetadata( 359new FrameworkPropertyMetadata( 380new FrameworkPropertyMetadata( 399TextBlock.BaselineOffsetProperty.AddOwner(typeof(AccessText), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPropertyChanged)));
System\Windows\Controls\Border.cs (5)
123new FrameworkPropertyMetadata( 149new FrameworkPropertyMetadata( 159new FrameworkPropertyMetadata( 176new FrameworkPropertyMetadata( 188new FrameworkPropertyMetadata(
System\Windows\Controls\Button.cs (5)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(typeof(Button))); 40IsEnabledProperty.OverrideMetadata(typeof(Button), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 70new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 133new FrameworkPropertyMetadata( 169new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Calendar.cs (12)
83DefaultStyleKeyProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(typeof(Calendar))); 84KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 85KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 86LanguageProperty.OverrideMetadata(typeof(Calendar), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged))); 203new FrameworkPropertyMetadata(DateTime.MinValue, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateChanged, CoerceDisplayDate)); 259new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateEndChanged, CoerceDisplayDateEnd)); 320new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateStartChanged, CoerceDisplayDateStart)); 376new FrameworkPropertyMetadata(CalendarMode.Month, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayModePropertyChanged), 446new FrameworkPropertyMetadata(DateTimeHelper.GetCurrentDateFormat().FirstDayOfWeek, 482new FrameworkPropertyMetadata(true, OnIsTodayHighlightedChanged)); 535new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnSelectedDateChanged)); 625new FrameworkPropertyMetadata(CalendarSelectionMode.SingleDate, OnSelectionModeChanged),
System\Windows\Controls\Canvas.cs (4)
214new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 225new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 237new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 248new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)),
System\Windows\Controls\CheckBox.cs (2)
40DefaultStyleKeyProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(typeof(CheckBox))); 43KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(CheckBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ColumnDefinition.cs (3)
1026new FrameworkPropertyMetadata( 1041new FrameworkPropertyMetadata( 1056new FrameworkPropertyMetadata(
System\Windows\Controls\ComboBox.cs (17)
46KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 47KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 51ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 53DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(typeof(ComboBox))); 56IsTextSearchEnabledProperty.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 71IsSelectionActivePropertyKey.OverrideMetadata(typeof(ComboBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 94new FrameworkPropertyMetadata(SystemParameters.PrimaryScreenHeight / 3, OnVisualStatePropertyChanged)); 121new FrameworkPropertyMetadata( 147new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 336new FrameworkPropertyMetadata( 367new FrameworkPropertyMetadata( 400new FrameworkPropertyMetadata(String.Empty)); 422new FrameworkPropertyMetadata((DataTemplate)null)); 440new FrameworkPropertyMetadata((String)null)); 461new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 483new FrameworkPropertyMetadata(BooleanBoxes.FalseBox,
System\Windows\Controls\ComboBoxItem.cs (2)
53DefaultStyleKeyProperty.OverrideMetadata(typeof(ComboBoxItem), new FrameworkPropertyMetadata(typeof(ComboBoxItem))); 66new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ContentControl.cs (6)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(ContentControl), new FrameworkPropertyMetadata(typeof(ContentControl))); 239new FrameworkPropertyMetadata( 313new FrameworkPropertyMetadata( 347new FrameworkPropertyMetadata( 392new FrameworkPropertyMetadata( 441new FrameworkPropertyMetadata(
System\Windows\Controls\ContentPresenter.cs (7)
138new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 162new FrameworkPropertyMetadata( 260new FrameworkPropertyMetadata( 307new FrameworkPropertyMetadata( 369new FrameworkPropertyMetadata( 419new FrameworkPropertyMetadata("Content")); 783new FrameworkPropertyMetadata(
System\Windows\Controls\ContextMenu.cs (14)
46DefaultStyleKeyProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(typeof(ContextMenu))); 49IsTabStopProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 50KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 51KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 52KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 55FocusVisualStyleProperty.OverrideMetadata(typeof(ContextMenu), new FrameworkPropertyMetadata((object)null /* default value */)); 86new FrameworkPropertyMetadata(null, 110new FrameworkPropertyMetadata(null, 135new FrameworkPropertyMetadata( 179new FrameworkPropertyMetadata(null, 203new FrameworkPropertyMetadata(null, 226new FrameworkPropertyMetadata(null, 250new FrameworkPropertyMetadata(null, 470new FrameworkPropertyMetadata(BooleanBoxes.TrueBox,
System\Windows\Controls\ContextMenuService.cs (9)
31new FrameworkPropertyMetadata((ContextMenu)null, 78new FrameworkPropertyMetadata(0d)); // Default Value 111new FrameworkPropertyMetadata(0d)); // Default Value 144new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); //Default Value 175new FrameworkPropertyMetadata((UIElement)null)); // Default Value 207new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 239new FrameworkPropertyMetadata(PlacementMode.MousePoint)); // Default Value 271new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 303new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value
System\Windows\Controls\Control.cs (14)
36FocusableProperty.OverrideMetadata(typeof(Control), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 76new FrameworkPropertyMetadata( 98new FrameworkPropertyMetadata( 120new FrameworkPropertyMetadata( 146new FrameworkPropertyMetadata(SystemColors.ControlTextBrush, 170new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, 195new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize, 220new FrameworkPropertyMetadata(TextElement.FontStretchProperty.DefaultMetadata.DefaultValue, 244new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, 268new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, 294new FrameworkPropertyMetadata(HorizontalAlignment.Left), 320new FrameworkPropertyMetadata(VerticalAlignment.Top), 378new FrameworkPropertyMetadata( 410new FrameworkPropertyMetadata(
System\Windows\Controls\DataGrid.cs (66)
43DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(DataGrid))); 46ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(dataGridRowPresenterFactory))); 47VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true, null, new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 48VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(VirtualizationMode.Recycling)); 49ItemContainerStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemContainerStyle))); 50ItemContainerStyleSelectorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemContainerStyleSelector))); 51ItemsSourceProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata((PropertyChangedCallback)null, OnCoerceItemsSourceProperty)); 52AlternationCountProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(0, null, new CoerceValueCallback(OnCoerceAlternationCount))); 53IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 54IsKeyboardFocusWithinPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsKeyboardFocusWithinChanged))); 55IsSynchronizedWithCurrentItemProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceIsSynchronizedWithCurrentItem))); 56IsTabStopProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 57KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 58KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 141DependencyProperty.Register("CanUserResizeColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnAndColumnHeaderPropertyChanged))); 156DependencyProperty.Register("ColumnWidth", typeof(DataGridLength), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridLength.SizeToHeader)); 175new FrameworkPropertyMetadata(20d, new PropertyChangedCallback(OnColumnSizeConstraintChanged)), 195new FrameworkPropertyMetadata(double.PositiveInfinity, new PropertyChangedCallback(OnColumnSizeConstraintChanged)), 699new FrameworkPropertyMetadata(DataGridGridLinesVisibility.All, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 718new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 737new FrameworkPropertyMetadata(Brushes.Black, new PropertyChangedCallback(OnNotifyGridLinePropertyChanged))); 900DependencyProperty.Register("RowStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnRowStyleChanged))); 930DependencyProperty.Register("RowValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 1012DependencyProperty.Register("RowStyleSelector", typeof(StyleSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnRowStyleSelectorChanged))); 1055DependencyProperty.Register("RowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 1073DependencyProperty.Register("AlternatingRowBackground", typeof(Brush), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyDataGridAndRowPropertyChanged))); 1105DependencyProperty.Register("RowHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, new PropertyChangedCallback(OnNotifyCellsPresenterPropertyChanged))); 1120DependencyProperty.Register("MinRowHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnNotifyCellsPresenterPropertyChanged))); 1205DependencyProperty.Register("RowHeaderWidth", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, new PropertyChangedCallback(OnNotifyRowHeaderWidthPropertyChanged))); 1220DependencyProperty.RegisterReadOnly("RowHeaderActualWidth", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnNotifyRowHeaderPropertyChanged))); 1240DependencyProperty.Register("ColumnHeaderHeight", typeof(double), typeof(DataGrid), new FrameworkPropertyMetadata(double.NaN, OnNotifyColumnHeaderPropertyChanged)); 1255DependencyProperty.Register("HeadersVisibility", typeof(DataGridHeadersVisibility), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridHeadersVisibility.All)); 1394DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndCellPropertyChanged))); 1409DependencyProperty.Register("ColumnHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnAndColumnHeaderPropertyChanged))); 1424DependencyProperty.Register("RowHeaderStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 1439DependencyProperty.Register("RowHeaderTemplate", typeof(DataTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 1454DependencyProperty.Register("RowHeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 1521public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty = ScrollViewer.HorizontalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 1535public static readonly DependencyProperty VerticalScrollBarVisibilityProperty = ScrollViewer.VerticalScrollBarVisibilityProperty.AddOwner(typeof(DataGrid), new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 2033new FrameworkPropertyMetadata(0d, OnNotifyHorizontalOffsetPropertyChanged)); 2777DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsReadOnlyChanged))); 2813DependencyProperty.Register("CurrentItem", typeof(object), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentItemChanged))); 2856DependencyProperty.Register("CurrentColumn", typeof(DataGridColumn), typeof(DataGrid), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentColumnChanged))); 2889DependencyProperty.Register("CurrentCell", typeof(DataGridCellInfo), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridCellInfo.Unset, new PropertyChangedCallback(OnCurrentCellChanged))); 3460DependencyProperty.Register("CanUserAddRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserAddRowsChanged), new CoerceValueCallback(OnCoerceCanUserAddRows))); 3510DependencyProperty.Register("CanUserDeleteRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserDeleteRowsChanged), new CoerceValueCallback(OnCoerceCanUserDeleteRows))); 3900DependencyProperty.Register("RowDetailsVisibilityMode", typeof(DataGridRowDetailsVisibilityMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridRowDetailsVisibilityMode.VisibleWhenSelected, OnNotifyRowAndDetailsPropertyChanged)); 3915DependencyProperty.Register("AreRowDetailsFrozen", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(false)); 3930DependencyProperty.Register("RowDetailsTemplate", typeof(DataTemplate), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged)); 3945DependencyProperty.Register("RowDetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyRowAndDetailsPropertyChanged)); 4047DependencyProperty.Register("CanUserResizeRows", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyRowHeaderPropertyChanged))); 4069new FrameworkPropertyMetadata(new Thickness(0))); 4445DependencyProperty.Register("SelectionMode", typeof(DataGridSelectionMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridSelectionMode.Extended, new PropertyChangedCallback(OnSelectionModeChanged))); 4507DependencyProperty.Register("SelectionUnit", typeof(DataGridSelectionUnit), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridSelectionUnit.FullRow, new PropertyChangedCallback(OnSelectionUnitChanged))); 7076new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserSortColumnsPropertyChanged), new CoerceValueCallback(OnCoerceCanUserSortColumns))); 7490DependencyProperty.Register("AutoGenerateColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnAutoGenerateColumnsPropertyChanged))); 7944new FrameworkPropertyMetadata(0, new PropertyChangedCallback(OnFrozenColumnCountPropertyChanged), new CoerceValueCallback(OnCoerceFrozenColumnCount)), 8004new FrameworkPropertyMetadata(0.0)); 8063new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnEnableRowVirtualizationChanged))); 8111new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnEnableColumnVirtualizationChanged))); 8131DependencyProperty.Register("CanUserReorderColumns", typeof(bool), typeof(DataGrid), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnPropertyChanged))); 8146DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged)); 8161DependencyProperty.Register("DropLocationIndicatorStyle", typeof(Style), typeof(DataGrid), new FrameworkPropertyMetadata(null)); 8230DependencyProperty.Register("ClipboardCopyMode", typeof(DataGridClipboardCopyMode), typeof(DataGrid), new FrameworkPropertyMetadata(DataGridClipboardCopyMode.ExcludeHeader, new PropertyChangedCallback(OnClipboardCopyModeChanged))); 8424new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(CellsPanelActualWidthChanged))); 8470new FrameworkPropertyMetadata(0d, OnNotifyHorizontalOffsetPropertyChanged));
System\Windows\Controls\DataGridBoundColumn.cs (3)
26SortMemberPathProperty.OverrideMetadata(typeof(DataGridBoundColumn), new FrameworkPropertyMetadata(null, OnCoerceSortMemberPath)); 138new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 158new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent)));
System\Windows\Controls\DataGridCell.cs (10)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(typeof(DataGridCell))); 37StyleProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStyle)); 38ClipProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceClip))); 39KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 40AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 43SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridCell), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 174DependencyProperty.RegisterReadOnly("Column", typeof(DataGridColumn), typeof(DataGridCell), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnColumnChanged))); 466public static readonly DependencyProperty IsEditingProperty = DependencyProperty.Register("IsEditing", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsEditingChanged))); 529DependencyProperty.RegisterReadOnly("IsReadOnly", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, OnNotifyIsReadOnlyChanged, OnCoerceIsReadOnly)); 669public static readonly DependencyProperty IsSelectedProperty = DependencyProperty.Register("IsSelected", typeof(bool), typeof(DataGridCell), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsSelectedChanged)));
System\Windows\Controls\DataGridCellsPanel.cs (1)
32KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DataGridCellsPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local));
System\Windows\Controls\DataGridCheckBoxColumn.cs (3)
21ElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 22EditingElementStyleProperty.OverrideMetadata(typeof(DataGridCheckBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 151new FrameworkPropertyMetadata(false, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\DataGridColumn.cs (22)
37DependencyProperty.Register("Header", typeof(object), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyColumnHeaderPropertyChanged))); 52DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged, OnCoerceHeaderStyle)); 78DependencyProperty.Register("HeaderStringFormat", typeof(string), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged)); 93DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged)); 108DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnHeaderPropertyChanged)); 127DependencyProperty.Register("CellStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyCellPropertyChanged, OnCoerceCellStyle)); 153DependencyProperty.Register("IsReadOnly", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(false, OnNotifyCellPropertyChanged, OnCoerceIsReadOnly)); 195new FrameworkPropertyMetadata(DataGridLength.Auto, new PropertyChangedCallback(OnWidthPropertyChanged), new CoerceValueCallback(OnCoerceWidth))); 304new FrameworkPropertyMetadata(20d, new PropertyChangedCallback(OnMinWidthPropertyChanged), new CoerceValueCallback(OnCoerceMinWidth)), 343new FrameworkPropertyMetadata(double.PositiveInfinity, new PropertyChangedCallback(OnMaxWidthPropertyChanged), new CoerceValueCallback(OnCoerceMaxWidth)), 480DependencyProperty.RegisterReadOnly("ActualWidth", typeof(double), typeof(DataGridColumn), new FrameworkPropertyMetadata(0.0, null, new CoerceValueCallback(OnCoerceActualWidth))); 778DependencyProperty.RegisterAttached("OriginalValue", typeof(object), typeof(DataGridColumn), new FrameworkPropertyMetadata(null)); 969new FrameworkPropertyMetadata(-1, new PropertyChangedCallback(DisplayIndexChanged), new CoerceValueCallback(OnCoerceDisplayIndex))); 1017new FrameworkPropertyMetadata(String.Empty)); 1036new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnCanUserSortPropertyChanged), new CoerceValueCallback(OnCoerceCanUserSort))); 1104new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifySortPropertyChanged))); 1134new FrameworkPropertyMetadata(false)); 1248new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnNotifyFrozenPropertyChanged), new CoerceValueCallback(OnCoerceIsFrozen))); 1308DependencyProperty.Register("CanUserReorder", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnPropertyChanged), new CoerceValueCallback(OnCoerceCanUserReorder))); 1334DependencyProperty.Register("DragIndicatorStyle", typeof(Style), typeof(DataGridColumn), new FrameworkPropertyMetadata(null, OnNotifyColumnPropertyChanged, OnCoerceDragIndicatorStyle)); 1467DependencyProperty.Register("CanUserResize", typeof(bool), typeof(DataGridColumn), new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnNotifyColumnHeaderPropertyChanged), new CoerceValueCallback(OnCoerceCanUserResize))); 1511new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityPropertyChanged)));
System\Windows\Controls\DataGridColumnDropSeparator.cs (3)
25new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnHeaderDropSeparatorStyleKey)); 29new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceWidth))); 33new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceHeight)));
System\Windows\Controls\DataGridColumnFloatingHeader.cs (3)
27new FrameworkPropertyMetadata(DataGridColumnHeader.ColumnFloatingHeaderStyleKey)); 31new FrameworkPropertyMetadata(new PropertyChangedCallback(OnWidthChanged), new CoerceValueCallback(OnCoerceWidth))); 35new FrameworkPropertyMetadata(new PropertyChangedCallback(OnHeightChanged), new CoerceValueCallback(OnCoerceHeight)));
System\Windows\Controls\DataGridComboBoxColumn.cs (8)
25SortMemberPathProperty.OverrideMetadata(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(null, OnCoerceSortMemberPath)); 36DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(DataGridComboBoxColumn.TextBlockComboBoxStyleKey)); 37KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(TextBlockComboBox), new FrameworkPropertyMetadata(false)); 268DataGridBoundColumn.ElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 284DataGridBoundColumn.EditingElementStyleProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 373ComboBox.ItemsSourceProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(null, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 390ComboBox.DisplayMemberPathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 405ComboBox.SelectedValuePathProperty.AddOwner(typeof(DataGridComboBoxColumn), new FrameworkPropertyMetadata(string.Empty, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\DataGridHyperlinkColumn.cs (3)
25ElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 26EditingElementStyleProperty.OverrideMetadata(typeof(DataGridHyperlinkColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 37new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent)));
System\Windows\Controls\DataGridRow.cs (21)
101VisibilityProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnCoerceVisibility)); 102DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(typeof(DataGridRow))); 103ItemsPanelProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 104FocusableProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(false)); 105BackgroundProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceBackground)); 106BindingGroupProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(OnNotifyRowPropertyChanged)); 109SnapsToDevicePixelsProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 111VirtualizingPanel.ShouldCacheContainerSizeProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceShouldCacheContainerSize))); 112AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRow), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 141DependencyProperty.Register("Item", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowPropertyChanged))); 281DependencyProperty.Register("Header", typeof(object), typeof(DataGridRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyRowAndRowHeaderPropertyChanged))); 305DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderStyle)); 320DependencyProperty.Register("HeaderTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplate)); 335DependencyProperty.Register("HeaderTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowAndRowHeaderPropertyChanged, OnCoerceHeaderTemplateSelector)); 350DependencyProperty.Register("ValidationErrorTemplate", typeof(ControlTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyRowPropertyChanged, OnCoerceValidationErrorTemplate)); 369DependencyProperty.Register("DetailsTemplate", typeof(DataTemplate), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplate)); 384DependencyProperty.Register("DetailsTemplateSelector", typeof(DataTemplateSelector), typeof(DataGridRow), new FrameworkPropertyMetadata(null, OnNotifyDetailsTemplatePropertyChanged, OnCoerceDetailsTemplateSelector)); 399DependencyProperty.Register("DetailsVisibility", typeof(Visibility), typeof(DataGridRow), new FrameworkPropertyMetadata(Visibility.Collapsed, OnNotifyDetailsVisibilityChanged, OnCoerceDetailsVisibility)); 1078new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault | FrameworkPropertyMetadataOptions.Journal, new PropertyChangedCallback(OnIsSelectedChanged))); 1226DependencyProperty.RegisterReadOnly("IsEditing", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false, OnNotifyRowAndRowHeaderPropertyChanged)); 1295DependencyProperty.RegisterReadOnly("IsNewItem", typeof(bool), typeof(DataGridRow), new FrameworkPropertyMetadata(false));
System\Windows\Controls\DataGridTemplateColumn.cs (6)
26new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceTemplateColumnCanUserSort))); 29new FrameworkPropertyMetadata(new PropertyChangedCallback(OnTemplateColumnSortMemberPathChanged))); 73new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 91new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 110new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent))); 129new FrameworkPropertyMetadata(null, new PropertyChangedCallback(DataGridColumn.NotifyPropertyChangeForRefreshContent)));
System\Windows\Controls\DataGridTextColumn.cs (7)
23ElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultElementStyle)); 24EditingElementStyleProperty.OverrideMetadata(typeof(DataGridTextColumn), new FrameworkPropertyMetadata(DefaultEditingElementStyle)); 302new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 323new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 346new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 367new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent)); 388new FrameworkPropertyMetadata(SystemColors.ControlTextBrush, FrameworkPropertyMetadataOptions.Inherits, DataGridColumn.NotifyPropertyChangeForRefreshContent));
System\Windows\Controls\DatePicker.cs (11)
89DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(typeof(DatePicker))); 91KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 92KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(false)); 94LanguageProperty.OverrideMetadata(typeof(DatePicker), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnLanguageChanged))); 167new FrameworkPropertyMetadata(DateTime.Now, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, null, CoerceDisplayDate)); 200new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateEndChanged, CoerceDisplayDateEnd)); 246new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnDisplayDateStartChanged, CoerceDisplayDateStart)); 316new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnIsDropDownOpenChanged, OnCoerceIsDropDownOpen)); 428new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, OnSelectedDateChanged, CoerceSelectedDate)); 523new FrameworkPropertyMetadata(DatePickerFormat.Long, OnSelectedDateFormatChanged), 576new FrameworkPropertyMetadata(string.Empty, OnTextChanged));
System\Windows\Controls\DefinitionBase.cs (3)
992new FrameworkPropertyMetadata( 1018new FrameworkPropertyMetadata(new PropertyChangedCallback(OnSharedSizeGroupPropertyChanged)), 1028new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPrivateSharedSizeScopePropertyChanged)));
System\Windows\Controls\DockPanel.cs (2)
168new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsArrange)); 182new FrameworkPropertyMetadata(
System\Windows\Controls\DocumentViewer.cs (18)
374new FrameworkPropertyMetadata( 404new FrameworkPropertyMetadata( 433new FrameworkPropertyMetadata( 461new FrameworkPropertyMetadata( 489new FrameworkPropertyMetadata( 518new FrameworkPropertyMetadata( 546new FrameworkPropertyMetadata( 578new FrameworkPropertyMetadata( 613new FrameworkPropertyMetadata( 641new FrameworkPropertyMetadata( 665new FrameworkPropertyMetadata( 689new FrameworkPropertyMetadata(_canMoveUpDefault)); 715new FrameworkPropertyMetadata(_canMoveDownDefault)); 741new FrameworkPropertyMetadata(_canMoveLeftDefault)); 767new FrameworkPropertyMetadata(_canMoveRightDefault)); 794new FrameworkPropertyMetadata(_canIncreaseZoomDefault)); 823new FrameworkPropertyMetadata(_canDecreaseZoomDefault)); 2036DefaultStyleKeyProperty.OverrideMetadata(typeof(DocumentViewer), new FrameworkPropertyMetadata(typeof(DocumentViewer)));
System\Windows\Controls\Expander.cs (4)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(typeof(Expander))); 62IsTabStopProperty.OverrideMetadata(typeof(Expander), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 99new FrameworkPropertyMetadata( 124new FrameworkPropertyMetadata(
System\Windows\Controls\FlowDocumentReader.cs (19)
53new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentReader"))); 58new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 60new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue, new PropertyChangedCallback(UpdateCaretElement))); 410new FrameworkPropertyMetadata( 424new FrameworkPropertyMetadata( 436new FrameworkPropertyMetadata( 448new FrameworkPropertyMetadata( 460new FrameworkPropertyMetadata(0)); 475new FrameworkPropertyMetadata(0)); 489new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 504new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 519new FrameworkPropertyMetadata( 531new FrameworkPropertyMetadata( 543new FrameworkPropertyMetadata( 553new FrameworkPropertyMetadata( 564new FrameworkPropertyMetadata( 575new FrameworkPropertyMetadata( 594new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 609new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
System\Windows\Controls\FlowDocumentScrollViewer.cs (13)
58new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentScrollViewer"))); 63new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 65new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue, new PropertyChangedCallback(UpdateCaretElement))); 361new FrameworkPropertyMetadata( 371new FrameworkPropertyMetadata( 382new FrameworkPropertyMetadata( 393new FrameworkPropertyMetadata( 412new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 427new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 442new FrameworkPropertyMetadata( 454new FrameworkPropertyMetadata( 464new FrameworkPropertyMetadata(ScrollBarVisibility.Auto)); 472new FrameworkPropertyMetadata(ScrollBarVisibility.Visible));
System\Windows\Controls\Frame.cs (8)
121DefaultStyleKeyProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(typeof(Frame))); 126new FrameworkPropertyMetadata( 130KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 131KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Frame), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 135new FrameworkPropertyMetadata(new PropertyChangedCallback(OnParentNavigationServiceChanged))); 243new FrameworkPropertyMetadata( 369new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 414new FrameworkPropertyMetadata(
System\Windows\Controls\Grid.cs (6)
3388new FrameworkPropertyMetadata( 3409new FrameworkPropertyMetadata( 3431new FrameworkPropertyMetadata( 3452new FrameworkPropertyMetadata( 3473new FrameworkPropertyMetadata( 3487new FrameworkPropertyMetadata(
System\Windows\Controls\GridSplitter.cs (9)
94DefaultStyleKeyProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(typeof(GridSplitter))); 98FrameworkElement.HorizontalAlignmentProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(HorizontalAlignment.Right)); 101CursorProperty.OverrideMetadata(typeof(GridSplitter), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceCursor))); 149new FrameworkPropertyMetadata(GridResizeDirection.Auto, 179new FrameworkPropertyMetadata(GridResizeBehavior.BasedOnAlignment), 210new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 230new FrameworkPropertyMetadata((Style)null)); 251new FrameworkPropertyMetadata(10.0), 280new FrameworkPropertyMetadata(1.0),
System\Windows\Controls\GridView.cs (3)
274new FrameworkPropertyMetadata( 308new FrameworkPropertyMetadata( 370new FrameworkPropertyMetadata(BooleanBoxes.TrueBox /* default value */
System\Windows\Controls\GridViewColumn.cs (5)
90new FrameworkPropertyMetadata( 138new FrameworkPropertyMetadata( 169new FrameworkPropertyMetadata( 202new FrameworkPropertyMetadata( 242new FrameworkPropertyMetadata(
System\Windows\Controls\GridViewColumnHeader.cs (8)
64DefaultStyleKeyProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(typeof(GridViewColumnHeader))); 67FocusableProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 70StyleProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 71ContentTemplateProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 72ContentTemplateSelectorProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 73ContextMenuProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 74ToolTipProperty.OverrideMetadata(typeof(GridViewColumnHeader), new FrameworkPropertyMetadata(new PropertyChangedCallback(PropertyChanged))); 152new FrameworkPropertyMetadata(GridViewColumnHeaderRole.Normal));
System\Windows\Controls\GridViewHeaderRowPresenter.cs (6)
56new FrameworkPropertyMetadata( 79new FrameworkPropertyMetadata( 102new FrameworkPropertyMetadata( 129new FrameworkPropertyMetadata( 177new FrameworkPropertyMetadata( 200new FrameworkPropertyMetadata(
System\Windows\Controls\GridViewRowPresenter.cs (1)
67new 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)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(typeof(GroupItem))); 37FocusableProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(false)); 38AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(GroupItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\HeaderedContentControl.cs (6)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(HeaderedContentControl), new FrameworkPropertyMetadata(typeof(HeaderedContentControl))); 62new FrameworkPropertyMetadata( 108new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 140new FrameworkPropertyMetadata( 185new FrameworkPropertyMetadata( 234new FrameworkPropertyMetadata(
System\Windows\Controls\HeaderedItemsControl.cs (4)
58new FrameworkPropertyMetadata( 133new FrameworkPropertyMetadata( 176new FrameworkPropertyMetadata( 224new FrameworkPropertyMetadata(
System\Windows\Controls\Image.cs (4)
118new FrameworkPropertyMetadata( 389StyleProperty.OverrideMetadata(typeof(Image), new FrameworkPropertyMetadata(style)); 398new FrameworkPropertyMetadata( 406new FrameworkPropertyMetadata(
System\Windows\Controls\InkCanvas.cs (15)
99ClipToBoundsProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 104FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 141StyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(defaultStyle)); 142DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(InkCanvas))); 144FocusVisualStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata((object)null /* default value */)); 406new FrameworkPropertyMetadata( 425new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 459new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 493new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 527new FrameworkPropertyMetadata(Double.NaN, new PropertyChangedCallback(OnPositioningChanged)), 594new FrameworkPropertyMetadata( 713new FrameworkPropertyMetadata( 794new FrameworkPropertyMetadata(InkCanvasEditingMode.Ink)); 817new FrameworkPropertyMetadata( 847new FrameworkPropertyMetadata(
System\Windows\Controls\InkPresenter.cs (1)
113new FrameworkPropertyMetadata(
System\Windows\Controls\ItemContainerGenerator.cs (1)
1294new FrameworkPropertyMetadata((object)null));
System\Windows\Controls\ItemsControl.cs (20)
64DefaultStyleKeyProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(typeof(ItemsControl))); 67VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollingModeChanged), new CoerceValueCallback(CoerceScrollingMode))); 68VirtualizingPanel.CacheLengthProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged))); 69VirtualizingPanel.CacheLengthUnitProperty.OverrideMetadata(typeof(ItemsControl), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCacheSizeChanged), new CoerceValueCallback(CoerceVirtualizationCacheLengthUnit))); 187new FrameworkPropertyMetadata((IEnumerable)null, 343new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, OnVisualStatePropertyChanged)); 373new FrameworkPropertyMetadata( 460new FrameworkPropertyMetadata( 511new FrameworkPropertyMetadata( 566new FrameworkPropertyMetadata( 615new FrameworkPropertyMetadata( 687new FrameworkPropertyMetadata( 739new FrameworkPropertyMetadata( 864new FrameworkPropertyMetadata(GetDefaultItemsPanelTemplate(), 908DependencyProperty.RegisterReadOnly("IsGrouping", typeof(bool), typeof(ItemsControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, new PropertyChangedCallback(OnIsGroupingChanged))); 983new FrameworkPropertyMetadata((GroupStyleSelector)null, 1031new FrameworkPropertyMetadata( 1084new FrameworkPropertyMetadata((int)0)); 1128new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1148new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\ItemsPresenter.cs (1)
121new FrameworkPropertyMetadata(
System\Windows\Controls\Label.cs (3)
52DefaultStyleKeyProperty.OverrideMetadata(typeof(Label), new FrameworkPropertyMetadata(typeof(Label))); 91new FrameworkPropertyMetadata( 143new FrameworkPropertyMetadata((Label)null));
System\Windows\Controls\ListBox.cs (7)
65DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(typeof(ListBox))); 68IsTabStopProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 69KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 70KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 72IsTextSearchEnabledProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 76ItemsPanelProperty.OverrideMetadata(typeof(ListBox), new FrameworkPropertyMetadata(template)); 156new FrameworkPropertyMetadata(
System\Windows\Controls\ListBoxItem.cs (6)
51DefaultStyleKeyProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(typeof(ListBoxItem))); 53KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 54KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 58Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 59AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(ListBoxItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 77new FrameworkPropertyMetadata(BooleanBoxes.FalseBox,
System\Windows\Controls\ListView.cs (1)
42SelectionModeProperty.OverrideMetadata(typeof(ListView), new FrameworkPropertyMetadata(SelectionMode.Extended));
System\Windows\Controls\MediaElement.cs (10)
81StyleProperty.OverrideMetadata(typeof(MediaElement), new FrameworkPropertyMetadata(style)); 90new FrameworkPropertyMetadata( 98new FrameworkPropertyMetadata( 129new FrameworkPropertyMetadata( 142new FrameworkPropertyMetadata( 154new FrameworkPropertyMetadata( 167new FrameworkPropertyMetadata( 180new FrameworkPropertyMetadata( 193new FrameworkPropertyMetadata( 206new FrameworkPropertyMetadata(
System\Windows\Controls\Menu.cs (6)
56DefaultStyleKeyProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(typeof(Menu))); 59ItemsPanelProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(GetDefaultPanel())); 60IsTabStopProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(false)); 62KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 63KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Menu), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 95new FrameworkPropertyMetadata(
System\Windows\Controls\MenuItem.cs (29)
170HeaderProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceHeader))); 175ForegroundProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemColors.MenuTextBrush)); 176FontFamilyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily)); 177FontSizeProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize)); 178FontStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle)); 179FontWeightProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight)); 182ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 188DefaultStyleKeyProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(typeof(MenuItem))); 191KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 194FocusVisualStyleProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata((object)null /* default value */)); 200InputMethod.IsInputMethodSuspendedProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 201AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(MenuItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 389new FrameworkPropertyMetadata( 489new FrameworkPropertyMetadata( 518new FrameworkPropertyMetadata((IInputElement) null)); 540new FrameworkPropertyMetadata( 756new FrameworkPropertyMetadata(MenuItemRole.TopLevelItem)); 815new FrameworkPropertyMetadata( 844new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 887new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 917new FrameworkPropertyMetadata( 986new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1015new FrameworkPropertyMetadata( 1111new FrameworkPropertyMetadata(String.Empty, 1168new FrameworkPropertyMetadata((object)null)); 1183new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1253new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector())); 2251new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 2662new FrameworkPropertyMetadata(new BoolField())
System\Windows\Controls\Page.cs (7)
51new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWindowServiceChanged))); 57FocusableProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 59DefaultStyleKeyProperty.OverrideMetadata(typeof(Page), new FrameworkPropertyMetadata(typeof(Page))); 136new FrameworkPropertyMetadata(new PropertyChangedCallback(OnContentChanged))); 332new FrameworkPropertyMetadata( 353new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnTitleChanged))); 513new FrameworkPropertyMetadata(
System\Windows\Controls\Panel.cs (3)
144new FrameworkPropertyMetadata((Brush)null, 219new FrameworkPropertyMetadata( 913new FrameworkPropertyMetadata(
System\Windows\Controls\PasswordBox.cs (10)
58DefaultStyleKeyProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(typeof(PasswordBox))); 64new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPasswordCharChanged))); 68new FrameworkPropertyMetadata(new PropertyChangedCallback(OnPaddingChanged))); 71NavigationService.NavigationServiceProperty.OverrideMetadata(typeof(PasswordBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnParentNavigationServiceChanged))); 74new FrameworkPropertyMetadata( 87new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 89new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 91new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 93new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 234new FrameworkPropertyMetadata('*')); // Flags
System\Windows\Controls\PopupControlService.cs (2)
1233new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1242new FrameworkPropertyMetadata((DependencyObject)null, // Default Value
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
64new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\ButtonBase.cs (7)
39KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 45InputMethod.IsInputMethodEnabledProperty.OverrideMetadata(typeof(ButtonBase), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 198new FrameworkPropertyMetadata((ICommand)null, 210new FrameworkPropertyMetadata( 225new FrameworkPropertyMetadata((IInputElement)null)); 235new FrameworkPropertyMetadata( 398new FrameworkPropertyMetadata(ClickMode.Release),
System\Windows\Controls\Primitives\CalendarButton.cs (3)
23DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarButton), new FrameworkPropertyMetadata(typeof(CalendarButton))); 42new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 66new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\CalendarDayButton.cs (6)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarDayButton), new FrameworkPropertyMetadata(typeof(CalendarDayButton))); 51new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 74new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 97new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 120new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged))); 143new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnVisualStatePropertyChanged)));
System\Windows\Controls\Primitives\CalendarItem.cs (4)
64DefaultStyleKeyProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(typeof(CalendarItem))); 65FocusableProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(false)); 66KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 67KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(CalendarItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained));
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (7)
38DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(typeof(DataGridCellsPresenter))); 39ItemsPanelProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(DataGridCellsPanel))))); 40FocusableProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(false)); 42HeightProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceHeight)); 43MinHeightProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(OnNotifyHeightPropertyChanged, OnCoerceMinHeight)); 47new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsVirtualizingPropertyChanged), new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 48VirtualizingPanel.VirtualizationModeProperty.OverrideMetadata(typeof(DataGridCellsPresenter), new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (16)
32DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(typeof(DataGridColumnHeader))); 34ContentProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent)); 35ContentTemplateProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplate)); 36ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 37ContentStringFormatProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStringFormat)); 38StyleProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, OnCoerceStyle)); 39HeightProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceHeight)); 41FocusableProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(false)); 42ClipProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null, OnCoerceClip)); 43AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 82DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(null)); 97DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 152new FrameworkPropertyMetadata(-1, new PropertyChangedCallback(OnDisplayIndexChanged), new CoerceValueCallback(OnCoerceDisplayIndex))); 717new FrameworkPropertyMetadata(true, null, new CoerceValueCallback(OnCoerceCanUserSort))); 740new FrameworkPropertyMetadata(null, OnVisualStatePropertyChanged, new CoerceValueCallback(OnCoerceSortDirection))); 873new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(OnCoerceIsFrozen)));
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
40DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 41FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 44ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(factory))); 48new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsVirtualizingPropertyChanged), new CoerceValueCallback(OnCoerceIsVirtualizingProperty))); 52new FrameworkPropertyMetadata(VirtualizationMode.Recycling));
System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (4)
21DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(typeof(DataGridDetailsPresenter))); 22ContentTemplateProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplate)); 23ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 24AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridDetailsPresenter), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\DataGridRowHeader.cs (12)
123DefaultStyleKeyProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(typeof(DataGridRowHeader))); 125ContentProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent)); 126ContentTemplateProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplate)); 127ContentTemplateSelectorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContentTemplateSelector)); 128StyleProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceStyle)); 129WidthProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceWidth)); 131ClickModeProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(ClickMode.Press)); 132FocusableProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(false)); 133AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 160DependencyProperty.Register("SeparatorBrush", typeof(Brush), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(null)); 175DependencyProperty.Register("SeparatorVisibility", typeof(Visibility), typeof(DataGridRowHeader), new FrameworkPropertyMetadata(Visibility.Visible)); 532new FrameworkPropertyMetadata(false, OnVisualStatePropertyChanged, new CoerceValueCallback(OnCoerceIsRowSelected)));
System\Windows\Controls\Primitives\DatePickerTextBox.cs (2)
41DefaultStyleKeyProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(typeof(DatePickerTextBox))); 42TextProperty.OverrideMetadata(typeof(DatePickerTextBox), new FrameworkPropertyMetadata(OnVisualStatePropertyChanged));
System\Windows\Controls\Primitives\DocumentPageView.cs (3)
151new FrameworkPropertyMetadata( 162new FrameworkPropertyMetadata( 172new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
69TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(DocumentViewerBase), new FrameworkPropertyMetadata(true)); 251new FrameworkPropertyMetadata( 263new FrameworkPropertyMetadata(0)); 279new FrameworkPropertyMetadata(0)); 295new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 311new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 331new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\GridViewRowPresenterBase.cs (1)
62new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\MenuBase.cs (3)
69FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(MenuBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 74InputMethod.IsInputMethodSuspendedProperty.OverrideMetadata(typeof(MenuBase), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 89new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
System\Windows\Controls\Primitives\Popup.cs (14)
64VisibilityProperty.OverrideMetadata(typeof(Popup), new FrameworkPropertyMetadata(VisibilityBoxes.CollapsedBox, null, new CoerceValueCallback(CoerceVisibility))); 96new FrameworkPropertyMetadata( 120new FrameworkPropertyMetadata( 296new FrameworkPropertyMetadata( 448new FrameworkPropertyMetadata( 520new FrameworkPropertyMetadata((object) null)); 542new FrameworkPropertyMetadata( 586new FrameworkPropertyMetadata( 622new FrameworkPropertyMetadata( 647new FrameworkPropertyMetadata( 691new FrameworkPropertyMetadata( 772new FrameworkPropertyMetadata(PopupAnimation.None, 808new FrameworkPropertyMetadata( 838new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\PopupRoot.cs (1)
32SnapsToDevicePixelsProperty.OverrideMetadata(typeof(PopupRoot), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox));
System\Windows\Controls\Primitives\RangeBase.cs (5)
83new FrameworkPropertyMetadata( 135new FrameworkPropertyMetadata( 198new FrameworkPropertyMetadata( 293new FrameworkPropertyMetadata(1.0), 320new FrameworkPropertyMetadata(0.1),
System\Windows\Controls\Primitives\RepeatButton.cs (4)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(typeof(RepeatButton))); 35ClickModeProperty.OverrideMetadata(typeof(RepeatButton), new FrameworkPropertyMetadata(ClickMode.Press)); 60new FrameworkPropertyMetadata(GetKeyboardDelay()), 87new FrameworkPropertyMetadata(GetKeyboardSpeed()),
System\Windows\Controls\Primitives\ResizeGrip.cs (2)
42DefaultStyleKeyProperty.OverrideMetadata(typeof(ResizeGrip), new FrameworkPropertyMetadata(typeof(ResizeGrip))); 47new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWindowServiceChanged)));
System\Windows\Controls\Primitives\ScrollBar.cs (7)
110new FrameworkPropertyMetadata(Orientation.Vertical), 119new FrameworkPropertyMetadata(0.0d), 686DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(typeof(ScrollBar))); 692FocusableProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 716MaximumProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(new PropertyChangedCallback(ViewChanged))); 717MinimumProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(new PropertyChangedCallback(ViewChanged))); 719ContextMenuProperty.OverrideMetadata(typeof(ScrollBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceContextMenu)));
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
317new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCanContentScrollChanged)));
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
28new FrameworkPropertyMetadata(SelectiveScrollingOrientation.Both, new PropertyChangedCallback(OnSelectiveScrollingOrientationChanged)));
System\Windows\Controls\Primitives\Selector.cs (8)
181new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 209new FrameworkPropertyMetadata( 251new FrameworkPropertyMetadata( 324new FrameworkPropertyMetadata( 380new FrameworkPropertyMetadata( 433new FrameworkPropertyMetadata( 693new FrameworkPropertyMetadata( 790new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\StatusBar.cs (4)
36DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(typeof(StatusBar))); 39IsTabStopProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 43ItemsPanelProperty.OverrideMetadata(typeof(StatusBar), new FrameworkPropertyMetadata(template)); 58new FrameworkPropertyMetadata(new DefaultItemContainerTemplateSelector()));
System\Windows\Controls\Primitives\StatusBarItem.cs (3)
24DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); 27IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 28AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
System\Windows\Controls\Primitives\TabPanel.cs (2)
55KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 56KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabPanel), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle));
System\Windows\Controls\Primitives\TextBoxBase.cs (15)
59DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBoxBase), new FrameworkPropertyMetadata(typeof(TextBoxBase))); 64new FrameworkPropertyMetadata(new PropertyChangedCallback(OnScrollViewerPropertyChanged))); 69new FrameworkPropertyMetadata(new PropertyChangedCallback(OnInputMethodEnabledPropertyChanged))); 436new FrameworkPropertyMetadata( 457new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsReadOnlyCaretVisiblePropertyChanged))); 501new FrameworkPropertyMetadata(false /*default value*/)); 530new FrameworkPropertyMetadata( 550new FrameworkPropertyMetadata(ScrollBarVisibility.Hidden, 693new FrameworkPropertyMetadata(true, new PropertyChangedCallback(OnIsUndoEnabledChanged))); 736new FrameworkPropertyMetadata(UndoManager.UndoLimitDefaultValue, new PropertyChangedCallback(OnUndoLimitChanged)), 765new FrameworkPropertyMetadata(false)); 791new FrameworkPropertyMetadata(GetDefaultSelectionBrush(), new PropertyChangedCallback(UpdateCaretElement))); 810new FrameworkPropertyMetadata(GetDefaultSelectionTextBrush(), new PropertyChangedCallback(UpdateCaretElement))); 841new FrameworkPropertyMetadata(SelectionOpacityDefaultValue, 861new FrameworkPropertyMetadata(null, new PropertyChangedCallback(UpdateCaretElement)));
System\Windows\Controls\Primitives\Thumb.cs (1)
54DefaultStyleKeyProperty.OverrideMetadata(typeof(Thumb), new FrameworkPropertyMetadata(typeof(Thumb)));
System\Windows\Controls\Primitives\TickBar.cs (11)
74SnapsToDevicePixelsProperty.OverrideMetadata(typeof(TickBar), new FrameworkPropertyMetadata(true)); 98new FrameworkPropertyMetadata( 126new FrameworkPropertyMetadata( 146new FrameworkPropertyMetadata( 166new FrameworkPropertyMetadata( 186new FrameworkPropertyMetadata( 206new FrameworkPropertyMetadata( 226new FrameworkPropertyMetadata( 268new FrameworkPropertyMetadata( 294new FrameworkPropertyMetadata( 328new FrameworkPropertyMetadata(
System\Windows\Controls\Primitives\ToggleButton.cs (3)
37DefaultStyleKeyProperty.OverrideMetadata(typeof(ToggleButton), new FrameworkPropertyMetadata(typeof(ToggleButton))); 131new FrameworkPropertyMetadata( 233new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
34new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsMeasure),
System\Windows\Controls\Primitives\Track.cs (6)
239new FrameworkPropertyMetadata(Orientation.Horizontal, FrameworkPropertyMetadataOptions.AffectsMeasure), 259new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsArrange)); 277new FrameworkPropertyMetadata(1d, FrameworkPropertyMetadataOptions.AffectsArrange)); 295new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault | FrameworkPropertyMetadataOptions.AffectsArrange)); 315new FrameworkPropertyMetadata(double.NaN, FrameworkPropertyMetadataOptions.AffectsArrange), 346new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Controls\Primitives\UniformGrid.cs (3)
77new FrameworkPropertyMetadata( 107new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata(
System\Windows\Controls\ProgressBar.cs (6)
43FocusableProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 44DefaultStyleKeyProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(typeof(ProgressBar))); 48RangeBase.MaximumProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(100.0)); 49ForegroundProperty.OverrideMetadata(typeof(ProgressBar), new FrameworkPropertyMetadata(OnForegroundChanged)); 87new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata(
System\Windows\Controls\RadioButton.cs (2)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(RadioButton), new FrameworkPropertyMetadata(typeof(RadioButton))); 206new FrameworkPropertyMetadata(String.Empty, new PropertyChangedCallback(OnGroupNameChanged)));
System\Windows\Controls\RichTextBox.cs (7)
47DefaultStyleKeyProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(typeof(RichTextBox))); 51KeyboardNavigation.AcceptsReturnProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 54TextBoxBase.AutoWordSelectionProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(true)); 61TextBoxBase.SelectionOpacityProperty.OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue)); 503new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsDocumentEnabledChanged))); 641inheritableFormattingProperties[i].OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(formattingPropertyCallback)); 649inheritableBehavioralProperties[i].OverrideMetadata(typeof(RichTextBox), new FrameworkPropertyMetadata(behavioralPropertyCallback));
System\Windows\Controls\RowDefinition.cs (3)
1026new FrameworkPropertyMetadata( 1041new FrameworkPropertyMetadata( 1056new FrameworkPropertyMetadata(
System\Windows\Controls\ScrollViewer.cs (23)
454new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 485new FrameworkPropertyMetadata( 519new FrameworkPropertyMetadata( 552new FrameworkPropertyMetadata(Visibility.Visible)); 570new FrameworkPropertyMetadata(Visibility.Visible)); 589new FrameworkPropertyMetadata(0d)); 606new FrameworkPropertyMetadata(0d)); 623new FrameworkPropertyMetadata(0d)); 657new FrameworkPropertyMetadata(0d)); 690new FrameworkPropertyMetadata(0d)); 706new FrameworkPropertyMetadata(0d)); 722new FrameworkPropertyMetadata(0d)); 738new FrameworkPropertyMetadata(0d)); 754new FrameworkPropertyMetadata(0d)); 770new FrameworkPropertyMetadata(0d)); 784public static readonly DependencyProperty IsDeferredScrollingEnabledProperty = DependencyProperty.RegisterAttached("IsDeferredScrollingEnabled", typeof(bool), typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1437new FrameworkPropertyMetadata(PanningMode.None, new PropertyChangedCallback(OnPanningModeChanged))); 1512new FrameworkPropertyMetadata(0.001), 1552new FrameworkPropertyMetadata(1d), 2916DefaultStyleKeyProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(typeof(ScrollViewer))); 2922Control.TemplateProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(template)); 2923IsTabStopProperty.OverrideMetadata(typeof(ScrollViewer), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 2924KeyboardNavigation.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)
54new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(PresentationUIStyleResources), "PUIFlowDocumentPageViewer"))); 59new FrameworkPropertyMetadata(new PropertyChangedCallback(UpdateCaretElement))); 61new FrameworkPropertyMetadata(TextBoxBase.AdornerSelectionOpacityDefaultValue, new PropertyChangedCallback(UpdateCaretElement))); 254new FrameworkPropertyMetadata( 268new FrameworkPropertyMetadata( 282new FrameworkPropertyMetadata( 295new FrameworkPropertyMetadata(10d), 306new FrameworkPropertyMetadata(true)); 321new FrameworkPropertyMetadata(true));
System\Windows\Controls\Slider.cs (17)
67MinimumProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(0.0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 68MaximumProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(10.0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 69ValueProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure)); 79DefaultStyleKeyProperty.OverrideMetadata(typeof(Slider), new FrameworkPropertyMetadata(typeof(Slider))); 282new FrameworkPropertyMetadata(Orientation.Horizontal), 302new FrameworkPropertyMetadata(false)); 325public static readonly DependencyProperty DelayProperty = RepeatButton.DelayProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardDelay())); 350public static readonly DependencyProperty IntervalProperty = RepeatButton.IntervalProperty.AddOwner(typeof(Slider), new FrameworkPropertyMetadata(RepeatButton.GetKeyboardSpeed())); 377new FrameworkPropertyMetadata(Primitives.AutoToolTipPlacement.None), 414new FrameworkPropertyMetadata(0), new ValidateValueCallback(IsValidAutoToolTipPrecision)); 459new FrameworkPropertyMetadata(false)); 482new FrameworkPropertyMetadata(Primitives.TickPlacement.None), 518new FrameworkPropertyMetadata(1.0), 582new FrameworkPropertyMetadata(false)); 605new FrameworkPropertyMetadata(0.0d, 655new FrameworkPropertyMetadata(0.0d, 746new FrameworkPropertyMetadata(false));
System\Windows\Controls\SoundPlayerAction.cs (1)
69new FrameworkPropertyMetadata(
System\Windows\Controls\SpellCheck.cs (3)
98new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 145new FrameworkPropertyMetadata(Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName == "de" ? SpellingReform.Postreform : SpellingReform.PreAndPostreform, 175new FrameworkPropertyMetadata(new DictionaryCollectionFactory()));
System\Windows\Controls\Stack.cs (1)
317new FrameworkPropertyMetadata(
System\Windows\Controls\StickyNote.cs (21)
125DefaultStyleKeyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata( 128KeyboardNavigation.TabNavigationProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 129Control.IsTabStopProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(false)); 134new FrameworkPropertyMetadata(new PropertyChangedCallback(_UpdateInkDrawingAttributes))); 136FontFamilyProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 137FontSizeProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 138FontStretchProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 139FontStyleProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 140FontWeightProperty.OverrideMetadata(owner, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnFontPropertyChanged))); 247new FrameworkPropertyMetadata(String.Empty)); 274new FrameworkPropertyMetadata( 295new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 317new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 346new FrameworkPropertyMetadata( 369new FrameworkPropertyMetadata( 392new FrameworkPropertyMetadata( 414new FrameworkPropertyMetadata( 437new FrameworkPropertyMetadata( 460new FrameworkPropertyMetadata( 482new FrameworkPropertyMetadata(StickyNoteType.Text)); 768new FrameworkPropertyMetadata(
System\Windows\Controls\TabControl.cs (10)
45DefaultStyleKeyProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(typeof(TabControl))); 48KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabControl), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 80new FrameworkPropertyMetadata( 114private static readonly DependencyPropertyKey SelectedContentPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContent", typeof(object), typeof(TabControl), new FrameworkPropertyMetadata((object)null)); 142private static readonly DependencyPropertyKey SelectedContentTemplatePropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 171private static readonly DependencyPropertyKey SelectedContentTemplateSelectorPropertyKey = DependencyProperty.RegisterReadOnly("SelectedContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 200new FrameworkPropertyMetadata((String)null)); 228public static readonly DependencyProperty ContentTemplateProperty = DependencyProperty.Register("ContentTemplate", typeof(DataTemplate), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplate)null)); 253public static readonly DependencyProperty ContentTemplateSelectorProperty = DependencyProperty.Register("ContentTemplateSelector", typeof(DataTemplateSelector), typeof(TabControl), new FrameworkPropertyMetadata((DataTemplateSelector)null)); 280new FrameworkPropertyMetadata((String) null));
System\Windows\Controls\TabItem.cs (6)
56DefaultStyleKeyProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(typeof(TabItem))); 58KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 59KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 63AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TabItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 80new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 179new FrameworkPropertyMetadata(
System\Windows\Controls\TextBlock.cs (9)
319new FrameworkPropertyMetadata( 328typographyProperties[i].OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(onTypographyChanged)); 332DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBlock), new FrameworkPropertyMetadata(typeof(TextBlock))); 532new FrameworkPropertyMetadata( 577new FrameworkPropertyMetadata( 875new FrameworkPropertyMetadata( 1012new FrameworkPropertyMetadata( 1072new FrameworkPropertyMetadata( 1096new FrameworkPropertyMetadata(
System\Windows\Controls\TextBox.cs (14)
53DefaultStyleKeyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(typeof(TextBox))); 59HeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 60MinHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 61MaxHeightProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 62FontFamilyProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 63FontSizeProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(callback)); 70typographyProperties[i].OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata(onTypographyChanged)); 73HorizontalScrollBarVisibilityProperty.OverrideMetadata(typeof(TextBox), new FrameworkPropertyMetadata( 584new FrameworkPropertyMetadata( 614new FrameworkPropertyMetadata( 639new FrameworkPropertyMetadata( 664new FrameworkPropertyMetadata( // Property metadata 696new FrameworkPropertyMetadata(CharacterCasing.Normal /*default value*/), 731new FrameworkPropertyMetadata(0), /*default value*/
System\Windows\Controls\TextSearch.cs (5)
82new FrameworkPropertyMetadata(String.Empty /* default value */)); 114new FrameworkPropertyMetadata((string)String.Empty, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault)); 150new FrameworkPropertyMetadata((string)null)); 157new FrameworkPropertyMetadata(false)); 168new FrameworkPropertyMetadata((object)null /* default value */));
System\Windows\Controls\ToolBar.cs (13)
69ToolTipService.IsEnabledProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTipIsEnabled))); 71DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(typeof(ToolBar))); 76KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 77KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 78KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 79FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(ToolBar), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 111new FrameworkPropertyMetadata( 149new FrameworkPropertyMetadata( 173new FrameworkPropertyMetadata( 197new FrameworkPropertyMetadata( 312new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 341new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 384new FrameworkPropertyMetadata(
System\Windows\Controls\ToolBarTray.cs (5)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(typeof(ToolBarTray))); 54KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(ToolBarTray), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 81new FrameworkPropertyMetadata( 102new FrameworkPropertyMetadata( 136new FrameworkPropertyMetadata(
System\Windows\Controls\ToolTip.cs (11)
38DefaultStyleKeyProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(typeof(ToolTip))); 40BackgroundProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(SystemColors.InfoBrush)); 41FocusableProperty.OverrideMetadata(typeof(ToolTip), new FrameworkPropertyMetadata(false)); 71new FrameworkPropertyMetadata( 96new FrameworkPropertyMetadata(null, 127new FrameworkPropertyMetadata(null, 161new FrameworkPropertyMetadata( 208new FrameworkPropertyMetadata(null, 238new FrameworkPropertyMetadata(null, 263new FrameworkPropertyMetadata(null, 287new FrameworkPropertyMetadata(null,
System\Windows\Controls\ToolTipService.cs (14)
32new FrameworkPropertyMetadata((object) null)); 70new FrameworkPropertyMetadata(0d)); // Default Value 103new FrameworkPropertyMetadata(0d)); // Default Value 136new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 168new FrameworkPropertyMetadata((UIElement)null)); // Default Value 200new FrameworkPropertyMetadata(Rect.Empty)); // Default Value 232new FrameworkPropertyMetadata(PlacementMode.Mouse)); // Default Value 264new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 296new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); // Default Value 333new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); // Default Value 370new FrameworkPropertyMetadata(Int32.MaxValue), // Default Value 403new FrameworkPropertyMetadata(1000), // Default Value 436new FrameworkPropertyMetadata(100), // Default Value 469new FrameworkPropertyMetadata(null)); // Default Value
System\Windows\Controls\TreeView.cs (8)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(typeof(TreeView))); 36VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 39KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 40KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 41VirtualizingStackPanel.ScrollUnitProperty.OverrideMetadata(typeof(TreeView), new FrameworkPropertyMetadata(ScrollUnit.Pixel)); 60DependencyProperty.RegisterReadOnly("SelectedItem", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null)); 89DependencyProperty.RegisterReadOnly("SelectedValue", typeof(object), typeof(TreeView), new FrameworkPropertyMetadata((object)null)); 126new FrameworkPropertyMetadata(
System\Windows\Controls\TreeViewItem.cs (9)
35DefaultStyleKeyProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(typeof(TreeViewItem))); 36VirtualizingPanel.IsVirtualizingProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 39KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue)); 40KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(KeyboardNavigationMode.None)); 41IsTabStopProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 45Selector.IsSelectionActivePropertyKey.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnVisualStatePropertyChanged))); 49AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(TreeViewItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 72new FrameworkPropertyMetadata( 143new FrameworkPropertyMetadata(
System\Windows\Controls\UserControl.cs (5)
26DefaultStyleKeyProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(typeof(UserControl))); 29FocusableProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 30KeyboardNavigation.IsTabStopProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 32HorizontalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(HorizontalAlignment.Stretch)); 33VerticalContentAlignmentProperty.OverrideMetadata(typeof(UserControl), new FrameworkPropertyMetadata(VerticalAlignment.Stretch));
System\Windows\Controls\Validation.cs (7)
72new FrameworkPropertyMetadata( 104new FrameworkPropertyMetadata( 135new FrameworkPropertyMetadata( 181new FrameworkPropertyMetadata( 227new FrameworkPropertyMetadata((DependencyObject)null, 293new FrameworkPropertyMetadata((DependencyObject)null, 629new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.NotDataBindable));
System\Windows\Controls\ViewBox.cs (2)
104new FrameworkPropertyMetadata(Stretch.Uniform, FrameworkPropertyMetadataOptions.AffectsMeasure), 126new FrameworkPropertyMetadata(StretchDirection.Both, FrameworkPropertyMetadataOptions.AffectsMeasure),
System\Windows\Controls\ViewPort3D.cs (2)
99new FrameworkPropertyMetadata( 127new FrameworkPropertyMetadata((object) null));
System\Windows\Controls\VirtualizingPanel.cs (8)
62new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 96new FrameworkPropertyMetadata(VirtualizationMode.Standard, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 128new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged), new CoerceValueCallback(CoerceIsVirtualizingWhenGrouping))); 160new FrameworkPropertyMetadata(ScrollUnit.Item, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 193new FrameworkPropertyMetadata(new VirtualizationCacheLength(1.0), FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged)), new ValidateValueCallback(ValidateCacheSizeBeforeOrAfterViewport)); 228new FrameworkPropertyMetadata(VirtualizationCacheLengthUnit.Page, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnVirtualizationPropertyChanged))); 260new FrameworkPropertyMetadata(true)); 292new FrameworkPropertyMetadata(true));
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1807new FrameworkPropertyMetadata(Orientation.Vertical,
System\Windows\Controls\WrapPanel.cs (3)
90new FrameworkPropertyMetadata( 119new FrameworkPropertyMetadata( 146new FrameworkPropertyMetadata(
System\Windows\Data\Binding.cs (1)
176new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits),
System\Windows\Data\BindingExpressionBase.cs (1)
2044new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.None));
System\Windows\Data\CollectionContainer.cs (1)
50new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCollectionPropertyChanged)));
System\Windows\Data\CollectionViewSource.cs (12)
63new FrameworkPropertyMetadata((ICollectionView)null)); 98new FrameworkPropertyMetadata( 161new FrameworkPropertyMetadata( 247new FrameworkPropertyMetadata((bool)false)); 279new FrameworkPropertyMetadata((bool)false, 311new FrameworkPropertyMetadata((bool?)null)); 370new FrameworkPropertyMetadata((bool)false)); 402new FrameworkPropertyMetadata((bool)false, 434new FrameworkPropertyMetadata((bool?)null)); 491new FrameworkPropertyMetadata((bool)false)); 523new FrameworkPropertyMetadata((bool)false, 555new FrameworkPropertyMetadata((bool?)null));
System\Windows\Documents\AnchoredBlock.cs (4)
103new FrameworkPropertyMetadata( 122new FrameworkPropertyMetadata( 141new FrameworkPropertyMetadata( 160new FrameworkPropertyMetadata(
System\Windows\Documents\Block.cs (11)
85new FrameworkPropertyMetadata( 129new FrameworkPropertyMetadata( 151new FrameworkPropertyMetadata( 173new FrameworkPropertyMetadata( 195new FrameworkPropertyMetadata( 216new FrameworkPropertyMetadata( 276new FrameworkPropertyMetadata( 323new FrameworkPropertyMetadata( 368new FrameworkPropertyMetadata( 389new FrameworkPropertyMetadata( 410new FrameworkPropertyMetadata(
System\Windows\Documents\Bold.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Bold), new FrameworkPropertyMetadata(typeof(Bold)));
System\Windows\Documents\CompositionAdorner.cs (1)
34IsEnabledProperty.OverrideMetadata(typeof(CompositionAdorner), new FrameworkPropertyMetadata(false));
System\Windows\Documents\DocumentReference.cs (1)
147new FrameworkPropertyMetadata(
System\Windows\Documents\DocumentSequence.cs (2)
46FocusableProperty.OverrideMetadata(typeof(FixedDocumentSequence), new FrameworkPropertyMetadata(true)); 513new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\Figure.cs (8)
79new FrameworkPropertyMetadata( 101new FrameworkPropertyMetadata( 123new FrameworkPropertyMetadata( 146new FrameworkPropertyMetadata( 169new FrameworkPropertyMetadata( 190new FrameworkPropertyMetadata( 212new FrameworkPropertyMetadata( 233new FrameworkPropertyMetadata(
System\Windows\Documents\FixedDocument.cs (3)
64FocusableProperty.OverrideMetadata(typeof(FixedDocument), new FrameworkPropertyMetadata(true)); 67new FrameworkPropertyMetadata(new PropertyChangedCallback(FixedHyperLink.OnNavigationServiceChanged))); 583new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\FixedPage.cs (10)
59FrameworkPropertyMetadata metadata = new FrameworkPropertyMetadata(FlowDirection.LeftToRight, FrameworkPropertyMetadataOptions.AffectsParentArrange); 414new FrameworkPropertyMetadata((object)null)); 440new FrameworkPropertyMetadata((Brush)Brushes.White, FrameworkPropertyMetadataOptions.AffectsRender)); 457new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 474new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 491new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 509new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsParentArrange)); 528new FrameworkPropertyMetadata(Rect.Empty)); 547new FrameworkPropertyMetadata(Rect.Empty)); 557new FrameworkPropertyMetadata(
System\Windows\Documents\Floater.cs (3)
33DefaultStyleKeyProperty.OverrideMetadata(typeof(Floater), new FrameworkPropertyMetadata(typeof(Floater))); 84new FrameworkPropertyMetadata( 105new 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)
730new FrameworkPropertyMetadata( 757new FrameworkPropertyMetadata(string.Empty, 781new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 804new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 826new FrameworkPropertyMetadata(0.0, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 849new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OriginPropertyChanged))); 872new FrameworkPropertyMetadata(Double.NaN, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OriginPropertyChanged))); 895new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 917new FrameworkPropertyMetadata(StyleSimulations.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 939new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 963new FrameworkPropertyMetadata(0, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged))); 986new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(GlyphRunPropertyChanged)));
System\Windows\Documents\Hyperlink.cs (8)
49DefaultStyleKeyProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(typeof(Hyperlink))); 51FocusableProperty.OverrideMetadata(typeof(Hyperlink), new FrameworkPropertyMetadata(true)); 152new FrameworkPropertyMetadata((ICommand)null, 266new FrameworkPropertyMetadata( 303new FrameworkPropertyMetadata((IInputElement)null)); 342new FrameworkPropertyMetadata( 399new FrameworkPropertyMetadata(string.Empty)); 873new 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)
140new FrameworkPropertyMetadata( 159new FrameworkPropertyMetadata( 178new FrameworkPropertyMetadata( 197new FrameworkPropertyMetadata(
System\Windows\Documents\PageContent.cs (1)
233new 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)
50MarginProperty.OverrideMetadata(typeof(Table), new FrameworkPropertyMetadata(new Thickness(Double.NaN))); 555new FrameworkPropertyMetadata(
System\Windows\Documents\TableCell.cs (5)
190new FrameworkPropertyMetadata( 209new FrameworkPropertyMetadata( 228new FrameworkPropertyMetadata( 525new FrameworkPropertyMetadata( 539new FrameworkPropertyMetadata(
System\Windows\Documents\TableColumn.cs (2)
241new FrameworkPropertyMetadata( 253new FrameworkPropertyMetadata(
System\windows\Documents\TextEditor.cs (4)
789new FrameworkPropertyMetadata( 809new FrameworkPropertyMetadata(true)); 819new FrameworkPropertyMetadata(0d)); 1967new FrameworkPropertyMetadata((object)null));
System\Windows\Documents\TextElement.cs (8)
51typographyProperties[i].OverrideMetadata(typeof(TextElement), new FrameworkPropertyMetadata(typographyChanged)); 464new FrameworkPropertyMetadata( 514new FrameworkPropertyMetadata( 559new FrameworkPropertyMetadata( 604new FrameworkPropertyMetadata( 649new FrameworkPropertyMetadata( 698new FrameworkPropertyMetadata( 744new FrameworkPropertyMetadata((Brush)null,
System\Windows\Documents\Typography.cs (43)
1498new FrameworkPropertyMetadata( 1508new FrameworkPropertyMetadata( 1518new FrameworkPropertyMetadata( 1528new FrameworkPropertyMetadata( 1538new FrameworkPropertyMetadata( 1548new FrameworkPropertyMetadata( 1558new FrameworkPropertyMetadata( 1568new FrameworkPropertyMetadata( 1578new FrameworkPropertyMetadata( 1588new FrameworkPropertyMetadata( 1598new FrameworkPropertyMetadata( 1608new FrameworkPropertyMetadata( 1618new FrameworkPropertyMetadata( 1628new FrameworkPropertyMetadata( 1638new FrameworkPropertyMetadata( 1648new FrameworkPropertyMetadata( 1658new FrameworkPropertyMetadata( 1668new FrameworkPropertyMetadata( 1678new FrameworkPropertyMetadata( 1688new FrameworkPropertyMetadata( 1698new FrameworkPropertyMetadata( 1708new FrameworkPropertyMetadata( 1718new FrameworkPropertyMetadata( 1728new FrameworkPropertyMetadata( 1738new FrameworkPropertyMetadata( 1748new FrameworkPropertyMetadata( 1758new FrameworkPropertyMetadata( 1768new FrameworkPropertyMetadata( 1778new FrameworkPropertyMetadata( 1788new FrameworkPropertyMetadata( 1798new FrameworkPropertyMetadata( 1808new FrameworkPropertyMetadata( 1818new FrameworkPropertyMetadata( 1828new FrameworkPropertyMetadata( 1838new FrameworkPropertyMetadata( 1848new FrameworkPropertyMetadata( 1858new FrameworkPropertyMetadata( 1868new FrameworkPropertyMetadata( 1878new FrameworkPropertyMetadata( 1888new FrameworkPropertyMetadata( 1898new FrameworkPropertyMetadata( 1908new FrameworkPropertyMetadata( 1918new FrameworkPropertyMetadata(
System\Windows\Documents\Underline.cs (1)
34DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline)));
System\Windows\FrameworkContentElement.cs (21)
95NumberSubstitution.CultureSourceProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberCultureSource.Text, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 96NumberSubstitution.CultureOverrideProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 97NumberSubstitution.SubstitutionProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 101AllowDropProperty.OverrideMetadata(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 103Stylus.IsPressAndHoldEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 104Stylus.IsFlicksEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 105Stylus.IsTapFeedbackEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 106Stylus.IsTouchFeedbackEnabledProperty.AddOwner(typeof(FrameworkContentElement), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 134new FrameworkPropertyMetadata( 179new FrameworkPropertyMetadata( 199new FrameworkPropertyMetadata( 837new FrameworkPropertyMetadata(string.Empty)); 856new FrameworkPropertyMetadata((object) null)); 877new FrameworkPropertyMetadata( 900new FrameworkPropertyMetadata(FrameworkElement.DefaultFocusVisualStyle)); 917new FrameworkPropertyMetadata( 949new FrameworkPropertyMetadata( 1089new FrameworkPropertyMetadata((InputScope)null, // default value 1131new FrameworkPropertyMetadata(null, 1208new FrameworkPropertyMetadata(null, 1858new FrameworkPropertyMetadata((ContextMenu) null));
System\Windows\FrameworkElement.cs (39)
156new FrameworkPropertyMetadata( 194new FrameworkPropertyMetadata( 217new FrameworkPropertyMetadata( 245new FrameworkPropertyMetadata( 2386SnapsToDevicePixelsProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsArrange)); 2394AllowDropProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, FrameworkPropertyMetadataOptions.Inherits)); 2396Stylus.IsPressAndHoldEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2397Stylus.IsFlicksEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2398Stylus.IsTapFeedbackEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2399Stylus.IsTouchFeedbackEnabledProperty.AddOwner(_typeofThis, new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, FrameworkPropertyMetadataOptions.Inherits)); 2402NumberSubstitution.CultureSourceProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberCultureSource.User, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2403NumberSubstitution.CultureOverrideProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2404NumberSubstitution.SubstitutionProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(NumberSubstitutionMethod.AsCulture, FrameworkPropertyMetadataOptions.Inherits | FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender, numberSubstitutionChanged)); 2413TextElement.FontFamilyProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontFamily, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontFamily))); 2414TextElement.FontSizeProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.ThemeMessageFontSize, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontSize))); 2415TextElement.FontStyleProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontStyle, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontStyle))); 2416TextElement.FontWeightProperty.OverrideMetadata(_typeofThis, new FrameworkPropertyMetadata(SystemFonts.MessageFontWeight, FrameworkPropertyMetadataOptions.Inherits, null, new CoerceValueCallback(CoerceFontWeight))); 2420new FrameworkPropertyMetadata( 2705new FrameworkPropertyMetadata(null, 2792new FrameworkPropertyMetadata(null, 3194new FrameworkPropertyMetadata( 3218new FrameworkPropertyMetadata( 3246new FrameworkPropertyMetadata((object) null)); 3266new FrameworkPropertyMetadata((InputScope)null, // default value 3434new FrameworkPropertyMetadata( 3492new FrameworkPropertyMetadata( 3518new FrameworkPropertyMetadata( 3544new FrameworkPropertyMetadata( 3571new FrameworkPropertyMetadata( 3597new FrameworkPropertyMetadata( 3623new FrameworkPropertyMetadata( 3649new FrameworkPropertyMetadata( 3733new FrameworkPropertyMetadata( 3767new FrameworkPropertyMetadata( 3799new FrameworkPropertyMetadata( 3850new FrameworkPropertyMetadata(DefaultFocusVisualStyle)); 3870new FrameworkPropertyMetadata( 3904new FrameworkPropertyMetadata( 5915new FrameworkPropertyMetadata((ContextMenu) null));
System\Windows\FrameworkPropertyMetadata.cs (1)
561return new FrameworkPropertyMetadata();
System\Windows\Input\KeyboardNavigation.cs (8)
180new FrameworkPropertyMetadata(new Thickness())); 193new FrameworkPropertyMetadata(Int32.MaxValue)); 205new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 220new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 235new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 250new FrameworkPropertyMetadata(KeyboardNavigationMode.Continue), 261new FrameworkPropertyMetadata( 285new FrameworkPropertyMetadata(BooleanBoxes.FalseBox));
System\Windows\Interop\ActiveXHost.cs (3)
84Control.IsTabStopProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 86FocusableProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(true)); 90KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(ActiveXHost), new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
System\Windows\Interop\HwndHost.cs (1)
36FocusableProperty.OverrideMetadata(typeof(HwndHost), new FrameworkPropertyMetadata(true));
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4575bamlType.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)
58new FrameworkPropertyMetadata("default")); 62new FrameworkPropertyMetadata((object)null, FrameworkPropertyMetadataOptions.Inherits)); 66new FrameworkPropertyMetadata(XamlReaderHelper.DefinitionNamespaceURI, 71new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));
System\Windows\Media\TextOptions.cs (2)
30new FrameworkPropertyMetadata( 49new FrameworkPropertyMetadata(
System\Windows\Navigation\NavigationService.cs (1)
1322new FrameworkPropertyMetadata(
System\Windows\Navigation\NavigationWindow.cs (5)
111new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 160new FrameworkPropertyMetadata(typeof(NavigationWindow))); 164new FrameworkPropertyMetadata( 170new FrameworkPropertyMetadata(new PropertyChangedCallback(OnSandboxExternalContentPropertyChanged), 568new FrameworkPropertyMetadata(
System\Windows\Shapes\Ellipse.cs (1)
44StretchProperty.OverrideMetadata(typeof(Ellipse), new FrameworkPropertyMetadata(Stretch.Fill));
System\Windows\Shapes\Line.cs (4)
48new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender), 72new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender), 96new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender), 120new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender),
System\Windows\Shapes\Path.cs (1)
51new FrameworkPropertyMetadata(
System\Windows\Shapes\Polygon.cs (1)
73new FrameworkPropertyMetadata(
System\Windows\Shapes\Polyline.cs (1)
72new FrameworkPropertyMetadata(
System\Windows\Shapes\Rectangle.cs (3)
44StretchProperty.OverrideMetadata(typeof(Rectangle), new FrameworkPropertyMetadata(Stretch.Fill)); 57new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender)); 83new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.AffectsRender));
System\Windows\Shapes\Shape.cs (10)
52new FrameworkPropertyMetadata(Stretch.None, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange)); 126new FrameworkPropertyMetadata( 149new FrameworkPropertyMetadata( 174new FrameworkPropertyMetadata( 197new FrameworkPropertyMetadata( 221new FrameworkPropertyMetadata( 245new FrameworkPropertyMetadata( 268new FrameworkPropertyMetadata( 291new FrameworkPropertyMetadata( 313new FrameworkPropertyMetadata(
System\Windows\Shell\WindowChrome.cs (3)
112new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits)); 144new FrameworkPropertyMetadata(ResizeGripDirection.None, FrameworkPropertyMetadataOptions.Inherits)); 236new FrameworkPropertyMetadata(true));
System\Windows\Window.cs (30)
64HeightProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnHeightChanged))); 65MinHeightProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMinHeightChanged))); 66MaxHeightProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMaxHeightChanged))); 67WidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnWidthChanged))); 68MinWidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMinWidthChanged))); 69MaxWidthProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnMaxWidthChanged))); 77VisibilityProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Visibility.Collapsed, new PropertyChangedCallback(_OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility))); 79IsTabStopProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 80KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 81KeyboardNavigation.TabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 82KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 83FocusManager.IsFocusScopeProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.TrueBox)); 85DefaultStyleKeyProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(typeof(Window))); 88FlowDirectionProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(new PropertyChangedCallback(_OnFlowDirectionChanged))); 91RenderTransformProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(Transform.Identity, new PropertyChangedCallback(_OnRenderTransformChanged), new CoerceValueCallback(CoerceRenderTransform))); 92ClipToBoundsProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, new PropertyChangedCallback(_OnClipToBoundsChanged), new CoerceValueCallback(CoerceClipToBounds))); 798new FrameworkPropertyMetadata( 835new FrameworkPropertyMetadata(String.Empty, 871new FrameworkPropertyMetadata( 926new FrameworkPropertyMetadata( 974new FrameworkPropertyMetadata( 1025new FrameworkPropertyMetadata( 1163new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, 1200new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); 1428new FrameworkPropertyMetadata( 1484new FrameworkPropertyMetadata( 1526new FrameworkPropertyMetadata(ResizeMode.CanResize, 1569new FrameworkPropertyMetadata(BooleanBoxes.FalseBox, 1603new FrameworkPropertyMetadata(BooleanBoxes.TrueBox, 7391new FrameworkPropertyMetadata((IWindowService)null,
PresentationFramework.Aero (35)
Microsoft\Windows\Themes\BulletChrome.cs (7)
32IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged))); 58new FrameworkPropertyMetadata( 78new FrameworkPropertyMetadata( 98new FrameworkPropertyMetadata( 320new FrameworkPropertyMetadata( 475new FrameworkPropertyMetadata( 563new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ButtonChrome.cs (7)
35IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 56new FrameworkPropertyMetadata( 76new FrameworkPropertyMetadata( 96new FrameworkPropertyMetadata( 185new FrameworkPropertyMetadata( 276new FrameworkPropertyMetadata( 375new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
32IsEnabledProperty.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 53new FrameworkPropertyMetadata( 73new FrameworkPropertyMetadata( 92new FrameworkPropertyMetadata( 112new FrameworkPropertyMetadata( 178new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (4)
30IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged))); 52new FrameworkPropertyMetadata( 193new FrameworkPropertyMetadata( 297new 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)
41new FrameworkPropertyMetadata( 63new FrameworkPropertyMetadata(
PresentationFramework.Aero2 (35)
Microsoft\Windows\Themes\BulletChrome.cs (7)
32IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(OnIsEnabledChanged))); 58new FrameworkPropertyMetadata( 78new FrameworkPropertyMetadata( 98new FrameworkPropertyMetadata( 320new FrameworkPropertyMetadata( 475new FrameworkPropertyMetadata( 563new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ButtonChrome.cs (7)
35IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 56new FrameworkPropertyMetadata( 76new FrameworkPropertyMetadata( 96new FrameworkPropertyMetadata( 185new FrameworkPropertyMetadata( 276new FrameworkPropertyMetadata( 375new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ListBoxChrome.cs (6)
32IsEnabledProperty.OverrideMetadata(typeof(ListBoxChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 53new FrameworkPropertyMetadata( 73new FrameworkPropertyMetadata( 92new FrameworkPropertyMetadata( 112new FrameworkPropertyMetadata( 178new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (4)
30IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnEnabledChanged))); 52new FrameworkPropertyMetadata( 193new FrameworkPropertyMetadata( 297new 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)
41new FrameworkPropertyMetadata( 63new FrameworkPropertyMetadata(
PresentationFramework.AeroLite (15)
Microsoft\Windows\Themes\ScrollChrome.cs (4)
30IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 52new FrameworkPropertyMetadata( 102new FrameworkPropertyMetadata( 122new 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)
41new FrameworkPropertyMetadata( 63new FrameworkPropertyMetadata(
PresentationFramework.Classic (17)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (5)
130SnapsToDevicePixelsProperty.OverrideMetadata(typeof(ClassicBorderDecorator), new FrameworkPropertyMetadata(true)); 148new FrameworkPropertyMetadata( 464new FrameworkPropertyMetadata( 538new FrameworkPropertyMetadata( 562new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
34DependencyProperty.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)
41new FrameworkPropertyMetadata( 63new FrameworkPropertyMetadata(
PresentationFramework.Luna (32)
Microsoft\Windows\Themes\ButtonChrome.cs (7)
152IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 176new FrameworkPropertyMetadata( 206new FrameworkPropertyMetadata( 225new FrameworkPropertyMetadata( 245new FrameworkPropertyMetadata( 266new FrameworkPropertyMetadata( 287new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
40new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (6)
29IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 48new FrameworkPropertyMetadata( 68new FrameworkPropertyMetadata( 90new FrameworkPropertyMetadata( 155new FrameworkPropertyMetadata( 174new FrameworkPropertyMetadata(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
25IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 45new FrameworkPropertyMetadata( 65new FrameworkPropertyMetadata( 101new FrameworkPropertyMetadata( 121new FrameworkPropertyMetadata( 141new FrameworkPropertyMetadata( 162new 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)
41new FrameworkPropertyMetadata( 63new FrameworkPropertyMetadata(
PresentationFramework.Royale (29)
Microsoft\Windows\Themes\ButtonChrome.cs (6)
142IsEnabledProperty.OverrideMetadata(typeof(ButtonChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 164new FrameworkPropertyMetadata( 183new FrameworkPropertyMetadata( 203new FrameworkPropertyMetadata( 224new FrameworkPropertyMetadata( 245new FrameworkPropertyMetadata(
Microsoft\Windows\Themes\ScrollChrome.cs (5)
29IsEnabledProperty.OverrideMetadata(typeof(ScrollChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 50new FrameworkPropertyMetadata( 72new FrameworkPropertyMetadata( 137new FrameworkPropertyMetadata( 156new FrameworkPropertyMetadata(
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (7)
25IsEnabledProperty.OverrideMetadata(typeof(BulletChrome), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsRender)); 45new FrameworkPropertyMetadata( 65new FrameworkPropertyMetadata( 101new FrameworkPropertyMetadata( 121new FrameworkPropertyMetadata( 141new FrameworkPropertyMetadata( 162new 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)
41new FrameworkPropertyMetadata( 63new FrameworkPropertyMetadata(
PresentationUI (3)
MS\Internal\Documents\Application\PageTextBox.cs (1)
59new FrameworkPropertyMetadata(
MS\Internal\Documents\Application\ZoomComboBox.cs (2)
42IsTextSearchEnabledProperty.OverrideMetadata(typeof(ZoomComboBox), new FrameworkPropertyMetadata(false)); 81new FrameworkPropertyMetadata(
System.Windows.Controls.Ribbon (442)
Microsoft\Windows\Controls\KeyTipControl.cs (4)
24DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 25IsHitTestVisibleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 26FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 59new FrameworkPropertyMetadata(
Microsoft\Windows\Controls\KeyTipService.cs (4)
57DependencyProperty.RegisterAttached("KeyTip", typeof(string), typeof(KeyTipService), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged))); 114DependencyProperty.RegisterAttached("IsKeyTipScope", typeof(bool), typeof(KeyTipService), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsKeyTipScopeChanged))); 135DependencyProperty.RegisterAttached("KeyTipStyle", typeof(Style), typeof(KeyTipService), new FrameworkPropertyMetadata(null)); 469new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipAutoGenerationElementsChanged)));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (2)
48OrientationProperty.OverrideMetadata(typeof(RibbonGroupsPanel), new FrameworkPropertyMetadata(Orientation.Horizontal, null, new CoerceValueCallback(CoerceOrientation))); 283DependencyProperty.RegisterReadOnly("IsStarLayoutPass", typeof(bool), typeof(RibbonGroupsPanel), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonMenuItemsPanel.cs (1)
26OrientationProperty.OverrideMetadata(typeof(RibbonMenuItemsPanel), new FrameworkPropertyMetadata(Orientation.Vertical));
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (31)
97DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 98ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabsPanel))))); 99 FocusManager.IsFocusScopeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 100BorderBrushProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnBorderBrushChanged))); 105ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 120KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Contained)); 121KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Cycle)); 227new FrameworkPropertyMetadata(false)); 252new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnApplicationMenuChanged))); 271new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnQuickAccessToolBarChanged))); 284new FrameworkPropertyMetadata(null)); 297new FrameworkPropertyMetadata(null)); 319new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsMinimizedChanged), new CoerceValueCallback(CoerceIsMinimized))); 338new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsDropDownOpenChanged), new CoerceValueCallback(OnCoerceIsDropDownOpen))); 354new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsCollapsedChanged), new CoerceValueCallback(CoerceIsCollapsed))); 373new FrameworkPropertyMetadata(null, null, new CoerceValueCallback(OnCoerceTitle))); 386new FrameworkPropertyMetadata(null)); 405new FrameworkPropertyMetadata(true)); 423new FrameworkPropertyMetadata((IEnumerable)null, new PropertyChangedCallback(OnContextualTabGroupsSourceChanged))); 450DependencyProperty.Register("ContextualTabGroupHeaderTemplate", typeof(DataTemplate), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyContextualTabGroupPropertyChanged))); 459DependencyProperty.Register("ContextualTabGroupStyle", typeof(Style), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyContextualTabGroupPropertyChanged))); 478new FrameworkPropertyMetadata(null)); 497new FrameworkPropertyMetadata(null)); 516new FrameworkPropertyMetadata(null)); 535new FrameworkPropertyMetadata(null)); 554new FrameworkPropertyMetadata(null)); 573new FrameworkPropertyMetadata(null)); 593new FrameworkPropertyMetadata(null)); 612new FrameworkPropertyMetadata(null)); 624DependencyProperty.Register("TabHeaderStyle", typeof(Style), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyTabHeaderPropertyChanged))); 634DependencyProperty.Register("TabHeaderTemplate", typeof(DataTemplate), typeof(Ribbon), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyTabHeaderPropertyChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenu.cs (12)
82DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 84RibbonControlService.IsInControlGroupPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 85RibbonControlService.IsInQuickAccessToolBarPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 86RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 88RibbonMenuButton.CanUserResizeVerticallyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 89RibbonMenuButton.CanUserResizeHorizontallyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceToFalse))); 113new FrameworkPropertyMetadata(null)); 131new FrameworkPropertyMetadata(null)); 150new FrameworkPropertyMetadata(null)); 169new FrameworkPropertyMetadata(null)); 188new FrameworkPropertyMetadata(null)); 207new FrameworkPropertyMetadata(null));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationMenuItem.cs (3)
41DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 42IsSubmenuOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceIsSubmenuOpen))); 203new FrameworkPropertyMetadata(RibbonApplicationMenuItemLevel.Top));
Microsoft\Windows\Controls\Ribbon\RibbonApplicationSplitMenuItem.cs (3)
39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 40IsSubmenuOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceIsSubmenuOpen))); 201new FrameworkPropertyMetadata(RibbonApplicationMenuItemLevel.Top));
Microsoft\Windows\Controls\Ribbon\RibbonButton.cs (14)
47DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 48FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceFocusable))); 49ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 50ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 51CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 52ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 53ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 124RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 139RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 154RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 169RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 184RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 199RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 531new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonCheckBox.cs (14)
46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceFocusable))); 48ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 49ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 50CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 51ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 52ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 123RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 138RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 153RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 168RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 183RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 198RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonCheckBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 546new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (10)
51DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 52IsTextSearchEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 79new FrameworkPropertyMetadata(false, 103new FrameworkPropertyMetadata( 228new FrameworkPropertyMetadata(0.0d)); 243new FrameworkPropertyMetadata(String.Empty)); 265new FrameworkPropertyMetadata((DataTemplate)null)); 283new FrameworkPropertyMetadata((DataTemplateSelector)null)); 301new FrameworkPropertyMetadata((String)null)); 322new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonContentPresenter.cs (4)
48new FrameworkPropertyMetadata(OnIsInQuickAccessToolBarChanged), 52new FrameworkPropertyMetadata(OnIsInControlGroupChanged), 56new FrameworkPropertyMetadata(OnControlSizeDefinitionChanged, CoerceControlSizeDefinition)); 59new FrameworkPropertyMetadata(OnRibbonChanged));
Microsoft\Windows\Controls\Ribbon\RibbonContextMenu.cs (3)
48DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 49IsOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsOpenChanged))); 54ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template));
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroup.cs (8)
53DefaultStyleKeyProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(typeof(RibbonContextualTabGroup))); 54VisibilityProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(Visibility.Collapsed, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility))); 55FocusableProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(false)); 57AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonContextualTabGroup), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 75new FrameworkPropertyMetadata( 120new FrameworkPropertyMetadata( 143new FrameworkPropertyMetadata( 169new FrameworkPropertyMetadata(
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (6)
34DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 35ItemTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, CoerceItemTemplate)); 36ItemContainerStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, OnNotifyPropertyChanged, CoerceItemContainerStyle)); 37VisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceVisibility))); 38FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 43ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(itemsPanel));
Microsoft\Windows\Controls\Ribbon\RibbonControl.cs (7)
52DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 53FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 56new FrameworkPropertyMetadata(OnIsInQuickAccessToolBarChanged), 60new FrameworkPropertyMetadata(OnIsInControlGroupChanged), 64new FrameworkPropertyMetadata(OnControlSizeDefinitionChanged, CoerceControlSizeDefinition)); 67new FrameworkPropertyMetadata(OnItemForItemContainerChanged)); 70AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonControl), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip));
Microsoft\Windows\Controls\Ribbon\RibbonControlGroup.cs (5)
39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 40FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 46ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 48RibbonControlService.DefaultControlSizeDefinitionProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceDefaultControlSizeDefinition))); 69RibbonControlService.ControlSizeDefinitionProperty.AddOwner(typeof(RibbonControlGroup), new FrameworkPropertyMetadata(OnControlSizeDefinitionChanged));
Microsoft\Windows\Controls\Ribbon\RibbonControlService.cs (27)
46new FrameworkPropertyMetadata(null, OnLargeImageSourceChanged)); 77new FrameworkPropertyMetadata(null, OnSmallImageSourceChanged)); 112new FrameworkPropertyMetadata(null, OnLabelChanged)); 146DependencyProperty.RegisterAttached("ToolTipTitle", typeof(string), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 171DependencyProperty.RegisterAttached("ToolTipDescription", typeof(string), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 196DependencyProperty.RegisterAttached("ToolTipImageSource", typeof(ImageSource), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 221DependencyProperty.RegisterAttached("ToolTipFooterTitle", typeof(string), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 246DependencyProperty.RegisterAttached("ToolTipFooterDescription", typeof(string), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 271DependencyProperty.RegisterAttached("ToolTipFooterImageSource", typeof(ImageSource), typeof(RibbonControlService), new FrameworkPropertyMetadata(null)); 305new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits)); 338new FrameworkPropertyMetadata(null)); 366new FrameworkPropertyMetadata(null)); 394new FrameworkPropertyMetadata(null)); 422new FrameworkPropertyMetadata(null)); 450new FrameworkPropertyMetadata(null)); 478new FrameworkPropertyMetadata(null)); 506new FrameworkPropertyMetadata(null)); 534new FrameworkPropertyMetadata(null)); 562new FrameworkPropertyMetadata(new CornerRadius())); 598new FrameworkPropertyMetadata(null, 667new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnDefaultControlSizeDefinitionChanged), new CoerceValueCallback(CoerceDefaultControlSizeDefinition))); 739new FrameworkPropertyMetadata(false)); 777new FrameworkPropertyMetadata(false, RibbonHelper.OnCanAddToQuickAccessToolBarDirectlyChanged, RibbonHelper.OnCoerceCanAddToQuickAccessToolBarDirectly)); 800new FrameworkPropertyMetadata(false, new PropertyChangedCallback(RibbonHelper.OnIsInQATChanged))); 831new FrameworkPropertyMetadata(null)); 860new FrameworkPropertyMetadata(null, RibbonHelper.OnCoerceQuickAccessToolBarId)); 903DependencyProperty.RegisterAttachedReadOnly("ShowKeyboardCues", typeof(bool), typeof(RibbonControlService), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (6)
36DependencyProperty.Register("ImageSize", typeof(RibbonImageSize), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(RibbonImageSize.Large)); 46DependencyProperty.Register("IsLabelVisible", typeof(bool), typeof(RibbonControlSizeDefinition), new FrameworkPropertyMetadata(true)); 59new FrameworkPropertyMetadata(false)); 72new FrameworkPropertyMetadata(RibbonControlLength.Auto), 86new FrameworkPropertyMetadata(new RibbonControlLength(0)), 100new FrameworkPropertyMetadata(new RibbonControlLength(double.PositiveInfinity)),
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (2)
39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 40RibbonControlService.CanAddToQuickAccessToolBarDirectlyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (48)
62DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 63ItemContainerStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemContainerStyle))); 64ItemTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceItemTemplate))); 66ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 67ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 68ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 69ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 73ScrollViewer.VerticalScrollBarVisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null)); 159DependencyProperty.Register("CurrentFilter", typeof(object), typeof(RibbonGallery), new FrameworkPropertyMetadata(_allFilter, OnCurrentFilterChanged)); 171DependencyProperty.Register("CurrentFilterStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, null, OnCoerceCurrentFilterStyle)); 232new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCurrentFilterTemplateChanged), new CoerceValueCallback(OnCoerceCurrentFilterTemplate))); 427new FrameworkPropertyMetadata(1, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnLayoutPropertyChange)), new ValidateValueCallback(IsMinMaxColumnCountValid)); 452new FrameworkPropertyMetadata( 488new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnLayoutPropertyChange))); 517new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsMeasure,new PropertyChangedCallback(OnLayoutPropertyChange))); 534new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnLayoutPropertyChange))); 549new FrameworkPropertyMetadata(0.0, new PropertyChangedCallback(OnLayoutPropertyChange))); 670new FrameworkPropertyMetadata( 774new FrameworkPropertyMetadata( 891new FrameworkPropertyMetadata( 918new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnIsSynchronizedWithCurrentItemChanged))); 1577new FrameworkPropertyMetadata( 1831DependencyProperty.Register("CanUserFilter", typeof(bool), typeof(RibbonGallery), new FrameworkPropertyMetadata(false)); 1847DependencyProperty.Register("FilterItemContainerStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemContainerStyleChanged)); 1862DependencyProperty.Register("AllFilterItemContainerStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemContainerStyleChanged)); 1890new FrameworkPropertyMetadata(OnFilterItemContainerStyleSelectorChanged, OnCoerceFilterItemContainerStyleSelector)); 1962DependencyProperty.Register("FilterMenuButtonStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null)); 1977DependencyProperty.Register("FilterPaneContent", typeof(object), typeof(RibbonGallery), new FrameworkPropertyMetadata(null)); 1992DependencyProperty.Register("FilterPaneContentTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(null)); 2007DependencyProperty.Register("FilterItemTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemTemplateChanged)); 2022DependencyProperty.Register("AllFilterItemTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(OnFilterItemTemplateChanged)); 2049new FrameworkPropertyMetadata(OnFilterItemTemplateSelectorChanged, OnCoerceFilterItemTemplateSelector)); 2269new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnRibbonIsSelectedChanged))); 2453DependencyProperty.Register("CategoryTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCategoryTemplateChanged))); 2488DependencyProperty.Register("CategoryStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnCategoryStyleChanged))); 2517DependencyProperty.Register("GalleryItemTemplate", typeof(DataTemplate), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyGalleryItemTemplateOrStylePropertyChanged))); 2526DependencyProperty.Register("GalleryItemStyle", typeof(Style), typeof(RibbonGallery), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyGalleryItemTemplateOrStylePropertyChanged))); 2812new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCommandChanged))); 2831new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCommandParameterChanged))); 2850new FrameworkPropertyMetadata(null)); 2869new FrameworkPropertyMetadata(null)); 2989RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3004RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3019RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3034RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3049RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3064RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonGallery), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 3190new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (10)
55DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 56ItemTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceItemTemplate))); 57ItemContainerStyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceItemContainerStyle))); 59FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 61AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 306public static readonly DependencyProperty MinColumnCountProperty = RibbonGallery.MinColumnCountProperty.AddOwner(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(1, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceMinColumnCount))); 338public static readonly DependencyProperty MaxColumnCountProperty = RibbonGallery.MaxColumnCountProperty.AddOwner(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(int.MaxValue, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnNotifyPropertyChanged), new CoerceValueCallback(CoerceMaxColumnCount))); 369new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnNotifyPropertyChanged))); 393public static readonly DependencyProperty IsSharedColumnSizeScopeProperty = RibbonGallery.IsSharedColumnSizeScopeProperty.AddOwner(typeof(RibbonGalleryCategory), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure, new PropertyChangedCallback(OnNotifyPropertyChanged))); 631new FrameworkPropertyMetadata(Visibility.Visible));
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (15)
43DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 44ContentProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnContentChanged), new CoerceValueCallback(CoerceContent))); 45ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 46ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 48AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 165new FrameworkPropertyMetadata( 214new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsHighlightedChanged))); 264new FrameworkPropertyMetadata( 621RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 636RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 651RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 666RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 681RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 696RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 745KeyTipService.KeyTipProperty.AddOwner(typeof(RibbonGalleryItem), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged), new CoerceValueCallback(CoerceKeyTip)));
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (21)
63DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 64ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupItemsPanel))))); 65ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 66HeaderProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnHeaderChanged))); 67RibbonControlService.IsInQuickAccessToolBarPropertyKey.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsInQuickAccessToolBarChanged))); 68ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceToolTip))); 69ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 70ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 71FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 72ForegroundProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnForegroundChanged))); 74AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 241new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsCollapsedChanged), new CoerceValueCallback(CoerceIsCollapsed))); 284new FrameworkPropertyMetadata(new PropertyChangedCallback(OnGroupSizeDefinitionsChanged), new CoerceValueCallback(CoerceGroupSizeDefinitions))); 324RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 339RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 354RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 369RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 384RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 399RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonGroup), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 608new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsDropDownOpenChanged), new CoerceValueCallback(CoerceIsDropDownOpen))); 1536new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonGroupSizeDefinition.cs (1)
53new FrameworkPropertyMetadata(null));
Microsoft\Windows\Controls\Ribbon\RibbonGroupSizeDefinitionBase.cs (1)
25DependencyProperty.Register("IsCollapsed", typeof(bool), typeof(RibbonGroupSizeDefinitionBase), new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonGroupTemplateSizeDefinition.cs (1)
31new FrameworkPropertyMetadata(null));
Microsoft\Windows\Controls\Ribbon\RibbonMenuButton.cs (23)
55DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 59ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 61ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 62ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 63ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 64ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 65IsMainMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 75IsInControlGroupProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnPseudoInheritedPropertyChanged), RibbonControlService.IsInControlGroupPropertyKey); 78FocusManager.IsFocusScopeProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 82KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 143RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 158RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 173RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 188RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 203RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 218RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonMenuButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 432new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsDropDownOpenChanged), new CoerceValueCallback(CoerceIsDropDownOpen))); 443new FrameworkPropertyMetadata(double.NaN, 461new FrameworkPropertyMetadata(false, 478new FrameworkPropertyMetadata(false, 496new FrameworkPropertyMetadata(false, 513new FrameworkPropertyMetadata(false)); 1631new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (26)
57ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(template)); 59DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 60ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 61ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 62CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 63ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 64ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 65IsSubmenuOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsSubmenuOpenChanged))); 66IsCheckedProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsCheckedChanged))); 67HasGalleryProperty.OverrideMetadata(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnHasGalleryChanged)), RibbonMenuButton.HasGalleryPropertyKey); 68HeaderProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnHeaderChanged), new CoerceValueCallback(CoerceHeader))); 87RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 102RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 117RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 132RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 147RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 162RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonMenuItem), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 184new FrameworkPropertyMetadata(new PropertyChangedCallback(OnImageSourceChanged))); 207new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceQuickAccessToolBarImageSource))); 242new FrameworkPropertyMetadata(false)); 258new FrameworkPropertyMetadata(false, 273new FrameworkPropertyMetadata(false, 289new FrameworkPropertyMetadata(double.NaN, 1474new FrameworkPropertyMetadata(false, 1737new FrameworkPropertyMetadata(true)); 1766new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnKeyTipChanged), new CoerceValueCallback(CoerceKeyTip)));
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (6)
107DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 108FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 115KeyboardNavigation.DirectionalNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Local)); 162new FrameworkPropertyMetadata( 229new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnHasOverflowItemsChanged))); 257new FrameworkPropertyMetadata(false));
Microsoft\Windows\Controls\Ribbon\RibbonRadioButton.cs (14)
46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceFocusable))); 48ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 49ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 50CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 51ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 52ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 123RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 138RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 153RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 168RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 183RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 198RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonRadioButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 562new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
40DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType));
Microsoft\Windows\Controls\Ribbon\RibbonSplitButton.cs (18)
44DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 45BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 46ControlSizeDefinitionProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnBorderThicknessChanged))); 47IsInControlGroupProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnBorderThicknessChanged)), RibbonControlService.IsInControlGroupPropertyKey); 128new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 146new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 164new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 182new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 200new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 218new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 286new FrameworkPropertyMetadata(RibbonSplitButtonLabelPosition.Header)); 298new FrameworkPropertyMetadata(false)); 319new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(OnIsCheckedChanged))); 352new FrameworkPropertyMetadata((ICommand)null, RibbonHelper.OnCommandChanged)); 371new FrameworkPropertyMetadata((object)null)); 393new FrameworkPropertyMetadata((IInputElement)null)); 488new FrameworkPropertyMetadata(null)); 521DependencyProperty.Register("HeaderKeyTip", typeof(string), typeof(RibbonSplitButton), new FrameworkPropertyMetadata(null));
Microsoft\Windows\Controls\Ribbon\RibbonSplitMenuItem.cs (10)
37DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 38BorderThicknessProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new Thickness(), new PropertyChangedCallback(OnBorderThicknessChanged))); 39IsCheckedProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsCheckedChanged))); 52new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 69new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 86new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 103new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 120new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 137new FrameworkPropertyMetadata(new PropertyChangedCallback(OnDropDownToolTipPropertyChanged))); 326new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsPressedInternalChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonTab.cs (15)
45IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsEnabledChanged))); 46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonGroupsPanel))))); 48HeaderProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnHeaderChanged))); 49VisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(Visibility.Visible, new PropertyChangedCallback(OnVisibilityChanged), new CoerceValueCallback(CoerceVisibility))); 50HeaderTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnNotifyHeaderPropertyChanged), new CoerceValueCallback(CoerceHeaderTemplate))); 51HeaderTemplateSelectorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnNotifyHeaderPropertyChanged))); 52HeaderStringFormatProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnNotifyHeaderPropertyChanged))); 53FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 56KeyTipService.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnKeyTipChanged))); 58AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 96new FrameworkPropertyMetadata(null)); 112new FrameworkPropertyMetadata(false, 132DependencyProperty.RegisterReadOnly("ContextualTabGroup", typeof(RibbonContextualTabGroup), typeof(RibbonTab), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnNotifyHeaderPropertyChanged))); 150DependencyProperty.Register("HeaderStyle", typeof(Style), typeof(RibbonTab), new FrameworkPropertyMetadata(null, OnNotifyHeaderPropertyChanged, CoerceHeaderStyle));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (14)
38IsEnabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceIsEnabled))); 39DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 40VisibilityProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceVisibility))); 41ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 42StyleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceStyle)); 43ContentProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceContent)); 44ContentTemplateProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceContentTemplate)); 45ContentTemplateSelectorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceContentTemplateSelector)); 46ContentStringFormatProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceStringFormat)); 47KeyTipService.KeyTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(CoerceKeyTip))); 51AutomationProperties.IsOffscreenBehaviorProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(IsOffscreenBehavior.FromClip)); 68DependencyProperty.RegisterReadOnly("IsRibbonTabSelected", typeof(bool), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(false, new PropertyChangedCallback(OnIsRibbonTabSelectedChanged), new CoerceValueCallback(OnCoerceIsRibbonTabSelected))); 83DependencyProperty.RegisterReadOnly("ContextualTabGroup", typeof(RibbonContextualTabGroup), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(null, null, new CoerceValueCallback(CoerceContextualTabGroup))); 94DependencyProperty.RegisterReadOnly("IsContextualTab", typeof(bool), typeof(RibbonTabHeader), new FrameworkPropertyMetadata(false, null, new CoerceValueCallback(CoerceIsContextualTab)));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (5)
35ItemsPanelProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ItemsPanelTemplate(new FrameworkElementFactory(typeof(RibbonTabHeadersPanel))))); 36DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(typeof(RibbonTabHeaderItemsControl))); 37FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 38KeyboardNavigation.TabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once)); 39KeyboardNavigation.ControlTabNavigationProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(KeyboardNavigationMode.Once));
Microsoft\Windows\Controls\Ribbon\RibbonTextBox.cs (16)
47DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 48ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 49ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 50ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 51ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 102new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCommandChanged))); 121new FrameworkPropertyMetadata(new PropertyChangedCallback(OnCommandParameterChanged))); 140new FrameworkPropertyMetadata(null)); 318RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 333RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 348RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 363RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 378RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 393RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonTextBox), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 600new FrameworkPropertyMetadata(0.0d)); 651new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToggleButton.cs (15)
47DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 48FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(OnCoerceFocusable))); 49ToolTipProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new CoerceValueCallback(RibbonHelper.CoerceRibbonToolTip))); 50ToolTipService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 51CommandProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnCommandChanged)); 52ContextMenuProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(RibbonHelper.OnContextMenuChanged, RibbonHelper.OnCoerceContextMenu)); 53ContextMenuService.ShowOnDisabledProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(true)); 57IsCheckedProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsCheckedChanged))); 130RibbonControlService.ToolTipTitleProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 145RibbonControlService.ToolTipDescriptionProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 160RibbonControlService.ToolTipImageSourceProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 175RibbonControlService.ToolTipFooterTitleProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 190RibbonControlService.ToolTipFooterDescriptionProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 205RibbonControlService.ToolTipFooterImageSourceProperty.AddOwner(typeof(RibbonToggleButton), new FrameworkPropertyMetadata(new PropertyChangedCallback(RibbonHelper.OnRibbonToolTipPropertyChanged))); 569new FrameworkPropertyMetadata(true));
Microsoft\Windows\Controls\Ribbon\RibbonToolTip.cs (6)
42DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 43IsOpenProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new PropertyChangedCallback(OnIsOpenChanged), new CoerceValueCallback(CoerceIsOpen))); 44PlacementTargetProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnPlacementTargetPropertyChanged)); 115DependencyProperty.Register("Title", typeof(string), typeof(RibbonToolTip), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnToolTipHeaderPropertyChanged))); 130DependencyProperty.Register("Description", typeof(string), typeof(RibbonToolTip), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnToolTipHeaderPropertyChanged))); 145DependencyProperty.Register("ImageSource", typeof(ImageSource), typeof(RibbonToolTip), new FrameworkPropertyMetadata(new PropertyChangedCallback(OnToolTipHeaderPropertyChanged)));
Microsoft\Windows\Controls\Ribbon\RibbonTwoLineText.cs (5)
46DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(ownerType)); 47FocusableProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(false)); 207new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.AffectsMeasure)); 217new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender)); 238new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure));
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (2)
55DefaultStyleKeyProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(new ComponentResourceKey(typeof(Ribbon), "RibbonWindowStyle"))); 58Window.TitleProperty.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(String.Empty, new PropertyChangedCallback(OnTitleChangedCallback)));
Microsoft\Windows\Controls\TextSearchInternal.cs (3)
75new FrameworkPropertyMetadata((string)null)); 82new FrameworkPropertyMetadata(false)); 95new FrameworkPropertyMetadata((object)null /* default value */));
WindowsFormsIntegration (5)
System\Windows\Integration\ElementHost.cs (3)
1489new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue)); 1492new FrameworkPropertyMetadata(SWI.KeyboardNavigationMode.Continue)); 1518new FrameworkPropertyMetadata(
System\Windows\Integration\WindowsFormsHost.cs (2)
49FocusableProperty.OverrideMetadata(typeof(WindowsFormsHost), new FrameworkPropertyMetadata(true)); 50SWC.Control.IsTabStopProperty.OverrideMetadata(typeof(WindowsFormsHost), new FrameworkPropertyMetadata(true));
52 references to FrameworkPropertyMetadata
PresentationFramework (52)
MS\Internal\DataStreams.cs (2)
99FrameworkPropertyMetadata metadata = localValueEntry.Property.GetMetadata(element.DependencyObjectType) as FrameworkPropertyMetadata;
System\Windows\Controls\PasswordBox.cs (2)
490FrameworkPropertyMetadata fmetadata = e.Property.GetMetadata(typeof(PasswordBox)) as FrameworkPropertyMetadata;
System\Windows\Controls\TextBlock.cs (2)
1616FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
System\Windows\Controls\TextBox.cs (2)
1025FrameworkPropertyMetadata fmetadata = e.Property.GetMetadata(typeof(TextBox)) as FrameworkPropertyMetadata;
System\Windows\Data\BindingExpression.cs (2)
404FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
System\Windows\Data\BindingExpressionBase.cs (4)
1054FrameworkPropertyMetadata fwMetaData = TargetProperty.GetMetadata(target.DependencyObjectType) as FrameworkPropertyMetadata; 2507internal void ResolvePropertyDefaultSettings(BindingMode mode, UpdateSourceTrigger updateTrigger, FrameworkPropertyMetadata fwMetaData) 2556internal UpdateSourceTrigger GetDefaultUpdateSourceTrigger(FrameworkPropertyMetadata fwMetaData)
System\Windows\Data\MultiBindingExpression.cs (2)
168FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
System\Windows\Data\PriorityBindingExpression.cs (2)
151FrameworkPropertyMetadata fwMetaData = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata;
System\Windows\Documents\FixedPage.cs (1)
59FrameworkPropertyMetadata 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)
954FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
System\Windows\FrameworkContentElement.cs (4)
555FrameworkPropertyMetadata fmetadata = metadata as FrameworkPropertyMetadata; 763FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
System\Windows\FrameworkElement.cs (5)
1910FrameworkPropertyMetadata fmetadata = metadata as FrameworkPropertyMetadata; 1966private object GetInheritableValue(DependencyProperty dp, FrameworkPropertyMetadata fmetadata) 2140FrameworkPropertyMetadata fmetadata = e.Metadata as FrameworkPropertyMetadata;
System\Windows\FrameworkPropertyMetadata.cs (2)
578FrameworkPropertyMetadata fbaseMetadata = baseMetadata as FrameworkPropertyMetadata;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
324case 228: t = () => typeof(FrameworkPropertyMetadata); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4573typeof(System.Windows.FrameworkPropertyMetadata),
System\Windows\Markup\BamlRecordReader.cs (2)
943FrameworkPropertyMetadata metadata = ParserContext != null && ParserContext.SkipJournaledProperties ? 944dependencyProperty.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)
279FrameworkPropertyMetadata metadata = prop.GetMetadata(stack.CurrentFrame.Type.UnderlyingType) as FrameworkPropertyMetadata;
System\Windows\TreeChangeInfo.cs (2)
120FrameworkPropertyMetadata fMetadata = (FrameworkPropertyMetadata)metadata;
System\Windows\TreeWalkHelper.cs (9)
277FrameworkPropertyMetadata fMetadata = (FrameworkPropertyMetadata)metadata; 312FrameworkPropertyMetadata fMetadata, 1134FrameworkPropertyMetadata metadata = dp.GetMetadata(d.DependencyObjectType) as FrameworkPropertyMetadata; 1186FrameworkPropertyMetadata metadata = dp.GetMetadata(fe.DependencyObjectType) as FrameworkPropertyMetadata; 1217FrameworkPropertyMetadata metadata = dp.GetMetadata(fce.DependencyObjectType) as FrameworkPropertyMetadata;