33 references to StylusTip
PresentationCore (30)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (4)
856bool fStylusTipType = ( valueType == typeof(StylusTip) ); 861throw new ArgumentException(SR.Get(SRID.InvalidValueType1, typeof(StylusTip), typeof(int)), "value"); 863else if ( !StylusTipHelper.IsDefined((StylusTip)value) ) 865throw new ArgumentException(SR.Get(SRID.InvalidValueOfType, value, typeof(StylusTip)), "value");
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (7)
336if (da.StylusTip != StylusTip.Ellipse) 346da.StylusTip = StylusTip.Ellipse; 353if (da.StylusTip == StylusTip.Ellipse) 359da.StylusTip = StylusTip.Rectangle; 367if (da.StylusTip == StylusTip.Ellipse && 649System.Diagnostics.Debug.Assert(da.StylusTip != StylusTip.Ellipse, "StylusTip was put in the EPC for the default value!"); 695da.StylusTip == StylusTip.Ellipse &&
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (1)
263bool isEllipse = drawingAttributes.StylusTip == StylusTip.Ellipse;
Core\CSharp\MS\Internal\Ink\StylusShape.cs (6)
37private StylusTip m_tip; 49internal StylusShape(StylusTip tip, double width, double height, double rotation) 79if (tip == StylusTip.Rectangle) 280System.Diagnostics.Debug.Assert(m_tip == StylusTip.Ellipse); 354: base(StylusTip.Ellipse, width, height, rotation) 382: base(StylusTip.Rectangle, width, height, rotation)
Core\CSharp\System\Windows\Ink\DrawingAttributes.cs (9)
101public StylusTip StylusTip 108Debug.Assert(StylusTip.Ellipse == (StylusTip)GetDefaultDrawingAttributeValue(KnownIds.StylusTip)); 109return StylusTip.Ellipse; 114Debug.Assert(StylusTip.Rectangle == (StylusTip)GetExtendedPropertyBackedProperty(KnownIds.StylusTip)); 115return StylusTip.Rectangle; 395if (this.StylusTip == StylusTip.Rectangle) 682return StylusTip.Ellipse;
Core\CSharp\System\Windows\Ink\StylusTip.cs (3)
32internal static bool IsDefined(StylusTip stylusTip) 34if (stylusTip < StylusTip.Rectangle || stylusTip > StylusTip.Ellipse)
PresentationFramework (3)
src\Framework\MS\Internal\Ink\PenCursorManager.cs (2)
78da.StylusTip = StylusTip.Rectangle; 82da.StylusTip = StylusTip.Ellipse;
src\Framework\System\Windows\Controls\StickyNote.cs (1)
1829da.StylusTip = StylusTip.Ellipse;