2 types derived from DefinitionBase
PresentationFramework (2)
System\Windows\Controls\ColumnDefinition.cs (1)
900public class ColumnDefinition : DefinitionBase
System\Windows\Controls\RowDefinition.cs (1)
900public class RowDefinition : DefinitionBase
147 references to DefinitionBase
PresentationFramework (146)
System\Windows\Controls\ColumnDefinition.cs (7)
515internal DefinitionBase[] InternalItems 588private void PrivateConnectChild(int index, DefinitionBase value) 606private void PrivateDisconnectChild(DefinitionBase value) 626private void PrivateInsert(int index, DefinitionBase value) 657private void PrivateRemove(DefinitionBase value) 725private DefinitionBase[] _items; // storage of items 914: base(DefinitionBase.ThisIsColumnDefinition)
System\Windows\Controls\DefinitionBase.cs (18)
146DefinitionBase definition = (DefinitionBase) d; 189DefinitionBase definition = (DefinitionBase) d; 218DefinitionBase definition = (DefinitionBase) d; 507DefinitionBase definition = (DefinitionBase) d; 589DefinitionBase definition = (DefinitionBase)d; 746_registry = new List<DefinitionBase>(); 754internal void AddMember(DefinitionBase member) 768internal void RemoveMember(DefinitionBase member) 884DefinitionBase definitionBase = _registry[i]; 957private readonly List<DefinitionBase> _registry; // registry of participating definitions 984typeof(DefinitionBase), 1010typeof(DefinitionBase), 1020typeof(DefinitionBase),
System\Windows\Controls\Grid.cs (94)
772DefinitionBase[] definitions = DefinitionsU; 794DefinitionBase[] definitions = DefinitionsV; 999extData.DefinitionsU = new DefinitionBase[] { new ColumnDefinition() }; 1010extData.DefinitionsU = new DefinitionBase[] { new ColumnDefinition() }; 1046extData.DefinitionsV = new DefinitionBase[] { new RowDefinition() }; 1057extData.DefinitionsV = new DefinitionBase[] { new RowDefinition() }; 1080DefinitionBase[] definitions, 1377DefinitionBase[] definitions, 1404DefinitionBase[] definitions, 1430DefinitionBase[] definitions, 1441DefinitionBase[] tempDefinitions = TempDefinitions; // temp array used to remember definitions for sorting 1616DefinitionBase[] definitions, 1631DefinitionBase[] definitions, 1634DefinitionBase[] tempDefinitions = TempDefinitions; 1731DefinitionBase[] definitions, 1735DefinitionBase[] tempDefinitions = TempDefinitions; 1746DefinitionBase def = definitions[i]; 1793DefinitionBase def = definitions[i]; 1856DefinitionBase def = definitions[i]; 1881DefinitionBase resolvedDef; 1943DefinitionBase def = tempDefinitions[i]; 1959DefinitionBase def = tempDefinitions[defCount + i]; 1974DefinitionBase def = definitions[i]; 2001DefinitionBase def = tempDefinitions[i]; 2009DefinitionBase def = tempDefinitions[i]; 2028DefinitionBase[] definitions) 2047DefinitionBase[] definitions, 2063DefinitionBase[] definitions, 2259DefinitionBase definition = definitions[definitionIndices[i]]; 2275DefinitionBase definition = definitions[definitionIndices[i]]; 2309DefinitionBase[] definitions, 2325DefinitionBase def = definitions[i]; 2373DefinitionBase def = definitions[i]; 2464DefinitionBase def = definitions[i]; 2490DefinitionBase resolvedDef; 2555DefinitionBase resolvedDef = definitions[definitionIndices[minCountPhase2 - 1]]; 2570DefinitionBase def = definitions[definitionIndices[i]]; 2586DefinitionBase def = definitions[definitionIndices[defCount + i]]; 2599DefinitionBase def = definitions[i]; 2626DefinitionBase def = definitions[definitionIndices[i]]; 2634DefinitionBase def = definitions[definitionIndices[i]]; 2661DefinitionBase def = definitions[i]; 2728DefinitionBase definition = definitions[definitionIndices[i]]; 2744DefinitionBase definition = definitions[definitionIndices[i]]; 2840DefinitionBase[] definitions, 3053private DefinitionBase[] DefinitionsU 3061private DefinitionBase[] DefinitionsV 3069private DefinitionBase[] TempDefinitions 3082extData.TempDefinitions = new DefinitionBase[requiredLength]; 3087extData.TempDefinitions = (DefinitionBase[])tempDefinitionsWeakRef.Target; 3091extData.TempDefinitions = new DefinitionBase[requiredLength]; 3242static double StarWeight(DefinitionBase def, double scale) 3289private static readonly Comparison<DefinitionBase> s_spanPreferredDistributionOrderComparer = SpanPreferredDistributionOrderComparer; 3290private static readonly Comparison<DefinitionBase> s_spanMaxDistributionOrderComparer = SpanMaxDistributionOrderComparer; 3291private static readonly Comparison<DefinitionBase> s_starDistributionOrderComparer = StarDistributionOrderComparer; 3292private static readonly Comparison<DefinitionBase> s_minRatioComparer = MinRatioComparer; 3293private static readonly Comparison<DefinitionBase> s_maxRatioComparer = MaxRatioComparer; 3294private static readonly Comparison<DefinitionBase> s_starWeightComparer = StarWeightComparer; 3313internal DefinitionBase[] DefinitionsU; // collection of column definitions used during calc 3314internal DefinitionBase[] DefinitionsV; // collection of row definitions used during calc 3320internal DefinitionBase[] TempDefinitions; // temporary array used during layout for various purposes 3480new PropertyChangedCallback(DefinitionBase.OnIsSharedSizeScopePropertyChanged))); 3599private static int SpanPreferredDistributionOrderComparer(DefinitionBase x, DefinitionBase y) 3632private static int SpanMaxDistributionOrderComparer(DefinitionBase x, DefinitionBase y) 3665private static int StarDistributionOrderComparer(DefinitionBase x, DefinitionBase y) 3679private readonly DefinitionBase[] definitions; 3681internal StarDistributionOrderIndexComparer(DefinitionBase[] definitions) 3689DefinitionBase definitionX = definitions[x]; 3690DefinitionBase definitionY = definitions[y]; 3705private readonly DefinitionBase[] definitions; 3707internal DistributionOrderIndexComparer(DefinitionBase[] definitions) 3715DefinitionBase definitionX = definitions[x]; 3716DefinitionBase definitionY = definitions[y]; 3748private static int MinRatioComparer(DefinitionBase x, DefinitionBase y) 3764private static int MaxRatioComparer(DefinitionBase x, DefinitionBase y) 3779private static int StarWeightComparer(DefinitionBase x, DefinitionBase y) 3793private readonly DefinitionBase[] definitions; 3795internal MinRatioIndexComparer(DefinitionBase[] definitions) 3803DefinitionBase definitionX = definitions[x]; 3804DefinitionBase definitionY = definitions[y]; 3819private readonly DefinitionBase[] definitions; 3821internal MaxRatioIndexComparer(DefinitionBase[] definitions) 3829DefinitionBase definitionX = definitions[x]; 3830DefinitionBase definitionY = definitions[y]; 3845private readonly DefinitionBase[] definitions; 3847internal StarWeightIndexComparer(DefinitionBase[] definitions) 3855DefinitionBase definitionX = definitions[x]; 3856DefinitionBase definitionY = definitions[y];
System\Windows\Controls\GridSplitter.cs (11)
755private static bool IsStar(DefinitionBase definition) 761private static DefinitionBase GetGridDefinition(Grid grid, int index, GridResizeDirection direction) 763return direction == GridResizeDirection.Columns ? (DefinitionBase)grid.ColumnDefinitions[index] : (DefinitionBase)grid.RowDefinitions[index]; 767private double GetActualLength(DefinitionBase definition) 775private static void SetDefinitionLength(DefinitionBase definition, GridLength length) 830foreach (DefinitionBase definition in definitions) 891DefinitionBase definition1 = _resizeData.Definition1; 892DefinitionBase definition2 = _resizeData.Definition2; 999public DefinitionBase Definition1; 1000public DefinitionBase Definition2;
System\Windows\Controls\MenuItem.cs (3)
2144binding.Path = new PropertyPath(DefinitionBase.PrivateSharedSizeScopeProperty); 2147BindingOperations.SetBinding(this, DefinitionBase.PrivateSharedSizeScopeProperty, binding); 2154BindingOperations.ClearBinding(this, DefinitionBase.PrivateSharedSizeScopeProperty);
System\Windows\Controls\RowDefinition.cs (7)
515internal DefinitionBase[] InternalItems 588private void PrivateConnectChild(int index, DefinitionBase value) 606private void PrivateDisconnectChild(DefinitionBase value) 626private void PrivateInsert(int index, DefinitionBase value) 657private void PrivateRemove(DefinitionBase value) 725private DefinitionBase[] _items; // storage of items 914: base(DefinitionBase.ThisIsRowDefinition)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
228case 134: t = () => typeof(DefinitionBase); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7664Type type = typeof(System.Windows.Controls.DefinitionBase); 7665DependencyProperty dp = System.Windows.Controls.DefinitionBase.SharedSizeGroupProperty; 7667this.GetXamlType(typeof(System.Windows.Controls.DefinitionBase)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3337typeof(System.Windows.Controls.DefinitionBase),
System\Windows\Markup\KnownTypes.cs (1)
5688case KnownElements.DefinitionBase: t = typeof(System.Windows.Controls.DefinitionBase); break;
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (1)
140e.Property.OwnerType == typeof(DefinitionBase) &&