141 references to DefinitionBase
PresentationFramework (141)
src\Framework\System\Windows\Controls\DefinitionBase.cs (18)
159DefinitionBase definition = (DefinitionBase) d; 203DefinitionBase definition = (DefinitionBase) d; 232DefinitionBase definition = (DefinitionBase) d; 513DefinitionBase definition = (DefinitionBase) d; 595DefinitionBase definition = (DefinitionBase)d; 752_registry = new List<DefinitionBase>(); 760internal void AddMember(DefinitionBase member) 774internal void RemoveMember(DefinitionBase member) 890DefinitionBase definitionBase = _registry[i]; 929private readonly List<DefinitionBase> _registry; // registry of participating definitions 956typeof(DefinitionBase), 982typeof(DefinitionBase), 992typeof(DefinitionBase),
src\Framework\System\Windows\Controls\Grid.cs (103)
844DefinitionBase[] definitions = DefinitionsU; 866DefinitionBase[] definitions = DefinitionsV; 1071extData.DefinitionsU = new DefinitionBase[] { new ColumnDefinition() }; 1082extData.DefinitionsU = new DefinitionBase[] { new ColumnDefinition() }; 1118extData.DefinitionsV = new DefinitionBase[] { new RowDefinition() }; 1129extData.DefinitionsV = new DefinitionBase[] { new RowDefinition() }; 1152DefinitionBase[] definitions, 1450DefinitionBase[] definitions, 1477DefinitionBase[] definitions, 1503DefinitionBase[] definitions, 1514DefinitionBase[] tempDefinitions = TempDefinitions; // temp array used to remember definitions for sorting 1689DefinitionBase[] definitions, 1704DefinitionBase[] definitions, 1707DefinitionBase[] tempDefinitions = TempDefinitions; 1804DefinitionBase[] definitions, 1808DefinitionBase[] tempDefinitions = TempDefinitions; 1819DefinitionBase def = definitions[i]; 1866DefinitionBase def = definitions[i]; 1929DefinitionBase def = definitions[i]; 1954DefinitionBase resolvedDef; 2016DefinitionBase def = tempDefinitions[i]; 2032DefinitionBase def = tempDefinitions[defCount + i]; 2047DefinitionBase def = definitions[i]; 2074DefinitionBase def = tempDefinitions[i]; 2082DefinitionBase def = tempDefinitions[i]; 2101DefinitionBase[] definitions) 2120DefinitionBase[] definitions, 2136DefinitionBase[] definitions, 2335DefinitionBase definition = definitions[definitionIndices[i]]; 2351DefinitionBase definition = definitions[definitionIndices[i]]; 2385DefinitionBase[] definitions, 2401DefinitionBase def = definitions[i]; 2449DefinitionBase def = definitions[i]; 2542DefinitionBase def = definitions[i]; 2568DefinitionBase resolvedDef; 2634DefinitionBase def = definitions[definitionIndices[i]]; 2650DefinitionBase def = definitions[definitionIndices[defCount + i]]; 2663DefinitionBase def = definitions[i]; 2691DefinitionBase def = definitions[definitionIndices[i]]; 2699DefinitionBase def = definitions[definitionIndices[i]]; 2727DefinitionBase def = definitions[i]; 2795DefinitionBase definition = definitions[definitionIndices[i]]; 2811DefinitionBase definition = definitions[definitionIndices[i]]; 2907DefinitionBase[] definitions, 3120private DefinitionBase[] DefinitionsU 3128private DefinitionBase[] DefinitionsV 3136private DefinitionBase[] TempDefinitions 3149extData.TempDefinitions = new DefinitionBase[requiredLength]; 3154extData.TempDefinitions = (DefinitionBase[])tempDefinitionsWeakRef.Target; 3158extData.TempDefinitions = new DefinitionBase[requiredLength]; 3309static double StarWeight(DefinitionBase def, double scale) 3381internal DefinitionBase[] DefinitionsU; // collection of column definitions used during calc 3382internal DefinitionBase[] DefinitionsV; // collection of row definitions used during calc 3388internal DefinitionBase[] TempDefinitions; // temporary array used during layout for various purposes 3548new PropertyChangedCallback(DefinitionBase.OnIsSharedSizeScopePropertyChanged))); 3674DefinitionBase definitionX = x as DefinitionBase; 3675DefinitionBase definitionY = y as DefinitionBase; 3716DefinitionBase definitionX = x as DefinitionBase; 3717DefinitionBase definitionY = y as DefinitionBase; 3758DefinitionBase definitionX = x as DefinitionBase; 3759DefinitionBase definitionY = y as DefinitionBase; 3779DefinitionBase definitionX = x as DefinitionBase; 3780DefinitionBase definitionY = y as DefinitionBase; 3801private readonly DefinitionBase[] definitions; 3803internal StarDistributionOrderIndexComparer(DefinitionBase[] definitions) 3814DefinitionBase definitionX = null; 3815DefinitionBase definitionY = null; 3842private readonly DefinitionBase[] definitions; 3844internal DistributionOrderIndexComparer(DefinitionBase[] definitions) 3855DefinitionBase definitionX = null; 3856DefinitionBase definitionY = null; 3920DefinitionBase definitionX = x as DefinitionBase; 3921DefinitionBase definitionY = y as DefinitionBase; 3943DefinitionBase definitionX = x as DefinitionBase; 3944DefinitionBase definitionY = y as DefinitionBase; 3965DefinitionBase definitionX = x as DefinitionBase; 3966DefinitionBase definitionY = y as DefinitionBase; 3984private readonly DefinitionBase[] definitions; 3986internal MinRatioIndexComparer(DefinitionBase[] definitions) 3997DefinitionBase definitionX = null; 3998DefinitionBase definitionY = null; 4025private readonly DefinitionBase[] definitions; 4027internal MaxRatioIndexComparer(DefinitionBase[] definitions) 4038DefinitionBase definitionX = null; 4039DefinitionBase definitionY = null; 4066private readonly DefinitionBase[] definitions; 4068internal StarWeightIndexComparer(DefinitionBase[] definitions) 4079DefinitionBase definitionX = null; 4080DefinitionBase definitionY = null;
src\Framework\System\Windows\Controls\GridSplitter.cs (11)
763private static bool IsStar(DefinitionBase definition) 769private static DefinitionBase GetGridDefinition(Grid grid, int index, GridResizeDirection direction) 771return direction == GridResizeDirection.Columns ? (DefinitionBase)grid.ColumnDefinitions[index] : (DefinitionBase)grid.RowDefinitions[index]; 775private double GetActualLength(DefinitionBase definition) 783private static void SetDefinitionLength(DefinitionBase definition, GridLength length) 838foreach (DefinitionBase definition in definitions) 899DefinitionBase definition1 = _resizeData.Definition1; 900DefinitionBase definition2 = _resizeData.Definition2; 1007public DefinitionBase Definition1; 1008public DefinitionBase Definition2;
src\Framework\System\Windows\Controls\MenuItem.cs (3)
2202binding.Path = new PropertyPath(DefinitionBase.PrivateSharedSizeScopeProperty); 2205BindingOperations.SetBinding(this, DefinitionBase.PrivateSharedSizeScopeProperty, binding); 2212BindingOperations.ClearBinding(this, DefinitionBase.PrivateSharedSizeScopeProperty);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
226case 134: t = () => typeof(DefinitionBase); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (3)
7624Type type = typeof(System.Windows.Controls.DefinitionBase); 7625DependencyProperty dp = System.Windows.Controls.DefinitionBase.SharedSizeGroupProperty; 7627this.GetXamlType(typeof(System.Windows.Controls.DefinitionBase)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3335typeof(System.Windows.Controls.DefinitionBase),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5678case KnownElements.DefinitionBase: t = typeof(System.Windows.Controls.DefinitionBase); break;