Share via


WorkItemFormControl.ReadOnly Property

Gets or sets whether the view is read-only. true if the form is read-only; otherwise false.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Controls
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Controls (in Microsoft.TeamFoundation.WorkItemTracking.Controls.dll)

Syntax

'Declaration
Public Property ReadOnly As Boolean
'Usage
Dim instance As WorkItemFormControl 
Dim value As Boolean 

value = instance.ReadOnly

instance.ReadOnly = value
public bool ReadOnly { get; set; }
public:
property bool ReadOnly {
    bool get ();
    void set (bool value);
}
public function get ReadOnly () : boolean 
public function set ReadOnly (value : boolean)

Property Value

Type: System.Boolean

Remarks

Setting this property does not render the view. RenderView must be called for the change in ReadOnly to take effect.

.NET Framework Security

See Also

Reference

WorkItemFormControl Class

WorkItemFormControl Members

Microsoft.TeamFoundation.WorkItemTracking.Controls Namespace