2 types derived from DefinitionBase
PresentationFramework (2)
System\Windows\Controls\ColumnDefinition.cs (1)
910public class ColumnDefinition : DefinitionBase
System\Windows\Controls\RowDefinition.cs (1)
910public class RowDefinition : DefinitionBase
147 references to DefinitionBase
PresentationFramework (146)
System\Windows\Controls\ColumnDefinition.cs (7)
525internal DefinitionBase[] InternalItems 598private void PrivateConnectChild(int index, DefinitionBase value) 616private void PrivateDisconnectChild(DefinitionBase value) 636private void PrivateInsert(int index, DefinitionBase value) 667private void PrivateRemove(DefinitionBase value) 735private DefinitionBase[] _items; // storage of items 924: base(DefinitionBase.ThisIsColumnDefinition)
System\Windows\Controls\DefinitionBase.cs (18)
153DefinitionBase definition = (DefinitionBase) d; 196DefinitionBase definition = (DefinitionBase) d; 225DefinitionBase definition = (DefinitionBase) d; 514DefinitionBase definition = (DefinitionBase) d; 596DefinitionBase definition = (DefinitionBase)d; 753_registry = new List<DefinitionBase>(); 761internal void AddMember(DefinitionBase member) 775internal void RemoveMember(DefinitionBase member) 891DefinitionBase definitionBase = _registry[i]; 964private readonly List<DefinitionBase> _registry; // registry of participating definitions 991typeof(DefinitionBase), 1017typeof(DefinitionBase), 1027typeof(DefinitionBase),
System\Windows\Controls\Grid.cs (94)
781DefinitionBase[] definitions = DefinitionsU; 803DefinitionBase[] definitions = DefinitionsV; 1008extData.DefinitionsU = new DefinitionBase[] { new ColumnDefinition() }; 1019extData.DefinitionsU = new DefinitionBase[] { new ColumnDefinition() }; 1055extData.DefinitionsV = new DefinitionBase[] { new RowDefinition() }; 1066extData.DefinitionsV = new DefinitionBase[] { new RowDefinition() }; 1089DefinitionBase[] definitions, 1386DefinitionBase[] definitions, 1413DefinitionBase[] definitions, 1439DefinitionBase[] definitions, 1450DefinitionBase[] tempDefinitions = TempDefinitions; // temp array used to remember definitions for sorting 1625DefinitionBase[] definitions, 1640DefinitionBase[] definitions, 1643DefinitionBase[] tempDefinitions = TempDefinitions; 1740DefinitionBase[] definitions, 1744DefinitionBase[] tempDefinitions = TempDefinitions; 1755DefinitionBase def = definitions[i]; 1802DefinitionBase def = definitions[i]; 1865DefinitionBase def = definitions[i]; 1890DefinitionBase resolvedDef; 1952DefinitionBase def = tempDefinitions[i]; 1968DefinitionBase def = tempDefinitions[defCount + i]; 1983DefinitionBase def = definitions[i]; 2010DefinitionBase def = tempDefinitions[i]; 2018DefinitionBase def = tempDefinitions[i]; 2037DefinitionBase[] definitions) 2056DefinitionBase[] definitions, 2072DefinitionBase[] definitions, 2268DefinitionBase definition = definitions[definitionIndices[i]]; 2284DefinitionBase definition = definitions[definitionIndices[i]]; 2318DefinitionBase[] definitions, 2334DefinitionBase def = definitions[i]; 2382DefinitionBase def = definitions[i]; 2473DefinitionBase def = definitions[i]; 2499DefinitionBase resolvedDef; 2564DefinitionBase resolvedDef = definitions[definitionIndices[minCountPhase2 - 1]]; 2579DefinitionBase def = definitions[definitionIndices[i]]; 2595DefinitionBase def = definitions[definitionIndices[defCount + i]]; 2608DefinitionBase def = definitions[i]; 2635DefinitionBase def = definitions[definitionIndices[i]]; 2643DefinitionBase def = definitions[definitionIndices[i]]; 2670DefinitionBase def = definitions[i]; 2737DefinitionBase definition = definitions[definitionIndices[i]]; 2753DefinitionBase definition = definitions[definitionIndices[i]]; 2849DefinitionBase[] definitions, 3062private DefinitionBase[] DefinitionsU 3070private DefinitionBase[] DefinitionsV 3078private DefinitionBase[] TempDefinitions 3091extData.TempDefinitions = new DefinitionBase[requiredLength]; 3096extData.TempDefinitions = (DefinitionBase[])tempDefinitionsWeakRef.Target; 3100extData.TempDefinitions = new DefinitionBase[requiredLength]; 3251static double StarWeight(DefinitionBase def, double scale) 3298private static readonly Comparison<DefinitionBase> s_spanPreferredDistributionOrderComparer = SpanPreferredDistributionOrderComparer; 3299private static readonly Comparison<DefinitionBase> s_spanMaxDistributionOrderComparer = SpanMaxDistributionOrderComparer; 3300private static readonly Comparison<DefinitionBase> s_starDistributionOrderComparer = StarDistributionOrderComparer; 3301private static readonly Comparison<DefinitionBase> s_minRatioComparer = MinRatioComparer; 3302private static readonly Comparison<DefinitionBase> s_maxRatioComparer = MaxRatioComparer; 3303private static readonly Comparison<DefinitionBase> s_starWeightComparer = StarWeightComparer; 3322internal DefinitionBase[] DefinitionsU; // collection of column definitions used during calc 3323internal DefinitionBase[] DefinitionsV; // collection of row definitions used during calc 3329internal DefinitionBase[] TempDefinitions; // temporary array used during layout for various purposes 3489new PropertyChangedCallback(DefinitionBase.OnIsSharedSizeScopePropertyChanged))); 3608private static int SpanPreferredDistributionOrderComparer(DefinitionBase x, DefinitionBase y) 3641private static int SpanMaxDistributionOrderComparer(DefinitionBase x, DefinitionBase y) 3674private static int StarDistributionOrderComparer(DefinitionBase x, DefinitionBase y) 3688private readonly DefinitionBase[] definitions; 3690internal StarDistributionOrderIndexComparer(DefinitionBase[] definitions) 3698DefinitionBase definitionX = definitions[x]; 3699DefinitionBase definitionY = definitions[y]; 3714private readonly DefinitionBase[] definitions; 3716internal DistributionOrderIndexComparer(DefinitionBase[] definitions) 3724DefinitionBase definitionX = definitions[x]; 3725DefinitionBase definitionY = definitions[y]; 3757private static int MinRatioComparer(DefinitionBase x, DefinitionBase y) 3773private static int MaxRatioComparer(DefinitionBase x, DefinitionBase y) 3788private static int StarWeightComparer(DefinitionBase x, DefinitionBase y) 3802private readonly DefinitionBase[] definitions; 3804internal MinRatioIndexComparer(DefinitionBase[] definitions) 3812DefinitionBase definitionX = definitions[x]; 3813DefinitionBase definitionY = definitions[y]; 3828private readonly DefinitionBase[] definitions; 3830internal MaxRatioIndexComparer(DefinitionBase[] definitions) 3838DefinitionBase definitionX = definitions[x]; 3839DefinitionBase definitionY = definitions[y]; 3854private readonly DefinitionBase[] definitions; 3856internal StarWeightIndexComparer(DefinitionBase[] definitions) 3864DefinitionBase definitionX = definitions[x]; 3865DefinitionBase definitionY = definitions[y];
System\Windows\Controls\GridSplitter.cs (11)
761private static bool IsStar(DefinitionBase definition) 767private static DefinitionBase GetGridDefinition(Grid grid, int index, GridResizeDirection direction) 769return direction == GridResizeDirection.Columns ? (DefinitionBase)grid.ColumnDefinitions[index] : (DefinitionBase)grid.RowDefinitions[index]; 773private double GetActualLength(DefinitionBase definition) 781private static void SetDefinitionLength(DefinitionBase definition, GridLength length) 836foreach (DefinitionBase definition in definitions) 897DefinitionBase definition1 = _resizeData.Definition1; 898DefinitionBase definition2 = _resizeData.Definition2; 1005public DefinitionBase Definition1; 1006public DefinitionBase Definition2;
System\Windows\Controls\MenuItem.cs (3)
2154binding.Path = new PropertyPath(DefinitionBase.PrivateSharedSizeScopeProperty); 2157BindingOperations.SetBinding(this, DefinitionBase.PrivateSharedSizeScopeProperty, binding); 2164BindingOperations.ClearBinding(this, DefinitionBase.PrivateSharedSizeScopeProperty);
System\Windows\Controls\RowDefinition.cs (7)
525internal DefinitionBase[] InternalItems 598private void PrivateConnectChild(int index, DefinitionBase value) 616private void PrivateDisconnectChild(DefinitionBase value) 636private void PrivateInsert(int index, DefinitionBase value) 667private void PrivateRemove(DefinitionBase value) 735private DefinitionBase[] _items; // storage of items 924: base(DefinitionBase.ThisIsRowDefinition)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
230case 134: t = () => typeof(DefinitionBase); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7666Type type = typeof(System.Windows.Controls.DefinitionBase); 7667DependencyProperty dp = System.Windows.Controls.DefinitionBase.SharedSizeGroupProperty; 7669this.GetXamlType(typeof(System.Windows.Controls.DefinitionBase)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3339typeof(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)
143e.Property.OwnerType == typeof(DefinitionBase) &&