Skip to main content
.NET Framework Class Library
UIElementIsStylusCaptured Property

Gets a value indicating whether the stylus is captured by this element. This is a dependency property.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)
Syntax
Public ReadOnly Property IsStylusCaptured As [%$TOPIC/ms588734_en-us_VS_110_1_0_0_0_0%]
public [%$TOPIC/ms588734_en-us_VS_110_1_0_1_0_0%] IsStylusCaptured { get; }
public:
virtual property [%$TOPIC/ms588734_en-us_VS_110_1_0_2_0_0%] IsStylusCaptured {
	[%$TOPIC/ms588734_en-us_VS_110_1_0_2_0_1%] get () sealed;
}
abstract IsStylusCaptured : [%$TOPIC/ms588734_en-us_VS_110_1_0_3_0_0%] with get 
override IsStylusCaptured : [%$TOPIC/ms588734_en-us_VS_110_1_0_3_0_1%] with get
final function get IsStylusCaptured () : [%$TOPIC/ms588734_en-us_VS_110_1_0_4_0_0%]

Property Value

Type: SystemBoolean
true if the element has stylus capture; otherwise, false. The default is false.

Implements

IInputElementIsStylusCaptured
Dependency Property Information

Identifier field

IsStylusCapturedProperty

Metadata properties set to true

None

Remarks

Touch, mouse, and stylus input exist in a particular relationship. For more information, see Input Overview.

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1