WebGrid.HasSelection Property

Gets a value that indicates whether a row in the WebGrid instance is selected.

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public ReadOnly Property HasSelection As Boolean 
    Get
'Usage
Dim instance As WebGrid 
Dim value As Boolean 

value = instance.HasSelection
public bool HasSelection { get; }
public:
property bool HasSelection {
    bool get ();
}
member HasSelection : bool
function get HasSelection () : boolean

Property Value

Type: System.Boolean
true if a row is currently selected; otherwise, false.

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace