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