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