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