Export (0) Print
Expand All

AutomationProperties.SetIsRequiredForForm Method

Sets the IsRequiredForForm attached property for the specified DependencyObject.

Namespace:  System.Windows.Automation
Assembly:  PresentationCore (in PresentationCore.dll)

public static void SetIsRequiredForForm(
	DependencyObject element,
	bool value
)

Parameters

element
Type: System.Windows.DependencyObject

The DependencyObject on which to set the property.

value
Type: System.Boolean

The value to set; true if the element is meant to be required to be filled out on a form, otherwise false.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft