33 references to StylusTip
PresentationCore (30)
MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (4)
819bool fStylusTipType = ( valueType == typeof(StylusTip) ); 824throw new ArgumentException(SR.Format(SR.InvalidValueType1, typeof(StylusTip), typeof(int)), "value"); 826else if ( !StylusTipHelper.IsDefined((StylusTip)value) ) 828throw new ArgumentException(SR.Format(SR.InvalidValueOfType, value, typeof(StylusTip)), "value");
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (7)
326if (da.StylusTip != StylusTip.Ellipse) 336da.StylusTip = StylusTip.Ellipse; 343if (da.StylusTip == StylusTip.Ellipse) 349da.StylusTip = StylusTip.Rectangle; 357if (da.StylusTip == StylusTip.Ellipse && 610System.Diagnostics.Debug.Assert(da.StylusTip != StylusTip.Ellipse, "StylusTip was put in the EPC for the default value!"); 656da.StylusTip == StylusTip.Ellipse &&
MS\Internal\Ink\StrokeRenderer.cs (1)
257bool isEllipse = drawingAttributes.StylusTip == StylusTip.Ellipse;
MS\Internal\Ink\StylusShape.cs (6)
35private StylusTip m_tip; 47internal StylusShape(StylusTip tip, double width, double height, double rotation) 77if (tip == StylusTip.Rectangle) 277System.Diagnostics.Debug.Assert(m_tip == StylusTip.Ellipse); 350: base(StylusTip.Ellipse, width, height, rotation) 377: base(StylusTip.Rectangle, width, height, rotation)
System\Windows\Ink\DrawingAttributes.cs (9)
99public StylusTip StylusTip 106Debug.Assert(StylusTip.Ellipse == (StylusTip)GetDefaultDrawingAttributeValue(KnownIds.StylusTip)); 107return StylusTip.Ellipse; 112Debug.Assert(StylusTip.Rectangle == (StylusTip)GetExtendedPropertyBackedProperty(KnownIds.StylusTip)); 113return StylusTip.Rectangle; 393if (this.StylusTip == StylusTip.Rectangle) 680return StylusTip.Ellipse;
System\Windows\Ink\StylusTip.cs (3)
31internal static bool IsDefined(StylusTip stylusTip) 33if (stylusTip < StylusTip.Rectangle || stylusTip > StylusTip.Ellipse)
PresentationFramework (3)
MS\Internal\Ink\PenCursorManager.cs (2)
71da.StylusTip = StylusTip.Rectangle; 75da.StylusTip = StylusTip.Ellipse;
System\Windows\Controls\StickyNote.cs (1)
1792da.StylusTip = StylusTip.Ellipse;