5 instantiations of RibbonControlLength
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonControlLength.cs (1)
29
private static RibbonControlLength _auto = new
RibbonControlLength
(1.0, RibbonControlLengthUnitType.Auto);
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (2)
106
return new
RibbonControlLength
(doubleValue, type);
241
return new
RibbonControlLength
(value, unit);
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (2)
84
new FrameworkPropertyMetadata(new
RibbonControlLength
(0)),
98
new FrameworkPropertyMetadata(new
RibbonControlLength
(double.PositiveInfinity)),
31 references to RibbonControlLength
System.Windows.Controls.Ribbon (31)
Microsoft\Windows\Controls\Ribbon\RibbonControlLength.cs (9)
23
public struct RibbonControlLength : IEquatable<
RibbonControlLength
>
29
private static
RibbonControlLength
_auto = new RibbonControlLength(1.0, RibbonControlLengthUnitType.Auto);
78
public static bool operator ==(
RibbonControlLength
length1,
RibbonControlLength
length2)
87
public static bool operator !=(
RibbonControlLength
length1,
RibbonControlLength
length2)
98
if (obj is
RibbonControlLength
length)
111
public bool Equals(
RibbonControlLength
other)
182
public static
RibbonControlLength
Auto
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (6)
120
if (value != null && value is
RibbonControlLength
)
122
RibbonControlLength
length = (
RibbonControlLength
)value;
131
ConstructorInfo ci = typeof(
RibbonControlLength
).GetConstructor(new Type[] { typeof(double), typeof(RibbonControlLengthUnitType) });
146
internal static string ToString(
RibbonControlLength
length, CultureInfo cultureInfo)
171
internal static
RibbonControlLength
FromString(string s, CultureInfo cultureInfo)
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (16)
59
public
RibbonControlLength
Width
61
get { return (
RibbonControlLength
)GetValue(WidthProperty); }
68
typeof(
RibbonControlLength
),
70
new FrameworkPropertyMetadata(
RibbonControlLength
.Auto),
73
public
RibbonControlLength
MinWidth
75
get { return (
RibbonControlLength
)GetValue(MinWidthProperty); }
82
typeof(
RibbonControlLength
),
87
public
RibbonControlLength
MaxWidth
89
get { return (
RibbonControlLength
)GetValue(MaxWidthProperty); }
96
typeof(
RibbonControlLength
),
107
RibbonControlLength
length = (
RibbonControlLength
)width;
117
RibbonControlLength
length = (
RibbonControlLength
)minWidth;
127
RibbonControlLength
length = (
RibbonControlLength
)maxWidth;