5 instantiations of RibbonControlLength
System.Windows.Controls.Ribbon (5)
Microsoft\Windows\Controls\Ribbon\RibbonControlLength.cs (1)
31
private static RibbonControlLength _auto = new
RibbonControlLength
(1.0, RibbonControlLengthUnitType.Auto);
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (2)
107
return new
RibbonControlLength
(doubleValue, type);
242
return new
RibbonControlLength
(value, unit);
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (2)
86
new FrameworkPropertyMetadata(new
RibbonControlLength
(0)),
100
new FrameworkPropertyMetadata(new
RibbonControlLength
(double.PositiveInfinity)),
33 references to RibbonControlLength
System.Windows.Controls.Ribbon (33)
Microsoft\Windows\Controls\Ribbon\RibbonControlLength.cs (11)
25
public struct RibbonControlLength : IEquatable<
RibbonControlLength
>
31
private static
RibbonControlLength
_auto = new RibbonControlLength(1.0, RibbonControlLengthUnitType.Auto);
80
public static bool operator ==(
RibbonControlLength
length1,
RibbonControlLength
length2)
89
public static bool operator !=(
RibbonControlLength
length1,
RibbonControlLength
length2)
100
if (obj is
RibbonControlLength
)
102
RibbonControlLength
length = (
RibbonControlLength
)obj;
114
public bool Equals(
RibbonControlLength
other)
185
public static
RibbonControlLength
Auto
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (6)
121
if (value != null && value is
RibbonControlLength
)
123
RibbonControlLength
length = (
RibbonControlLength
)value;
132
ConstructorInfo ci = typeof(
RibbonControlLength
).GetConstructor(new Type[] { typeof(double), typeof(RibbonControlLengthUnitType) });
147
internal static string ToString(
RibbonControlLength
length, CultureInfo cultureInfo)
172
internal static
RibbonControlLength
FromString(string s, CultureInfo cultureInfo)
Microsoft\Windows\Controls\Ribbon\RibbonControlSizeDefinition.cs (16)
61
public
RibbonControlLength
Width
63
get { return (
RibbonControlLength
)GetValue(WidthProperty); }
70
typeof(
RibbonControlLength
),
72
new FrameworkPropertyMetadata(
RibbonControlLength
.Auto),
75
public
RibbonControlLength
MinWidth
77
get { return (
RibbonControlLength
)GetValue(MinWidthProperty); }
84
typeof(
RibbonControlLength
),
89
public
RibbonControlLength
MaxWidth
91
get { return (
RibbonControlLength
)GetValue(MaxWidthProperty); }
98
typeof(
RibbonControlLength
),
109
RibbonControlLength
length = (
RibbonControlLength
)width;
119
RibbonControlLength
length = (
RibbonControlLength
)minWidth;
129
RibbonControlLength
length = (
RibbonControlLength
)maxWidth;