8 references to Auto
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\RibbonControlLength.cs (5)
29private static RibbonControlLength _auto = new RibbonControlLength(1.0, RibbonControlLengthUnitType.Auto); 59if (type != RibbonControlLengthUnitType.Auto 67_unitValue = (type == RibbonControlLengthUnitType.Auto) ? 0.0 : value; 152get { return (_unitType == RibbonControlLengthUnitType.Auto); } 169get { return ((_unitType == RibbonControlLengthUnitType.Auto) ? 1.0 : _unitValue); }
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (3)
99type = RibbonControlLengthUnitType.Auto; 151case RibbonControlLengthUnitType.Auto: 227if (strLen == strLenUnit && (unit == RibbonControlLengthUnitType.Auto || unit == RibbonControlLengthUnitType.Star))