WebGrid.HasSelection Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether a row in the WebGrid instance is selected.
C#
public bool HasSelection { get; }
member this.HasSelection : bool
Public ReadOnly Property HasSelection As Boolean
true if a row is currently selected; otherwise, false.
Product | Versions |
---|---|
ASP.NET Web Pages | 3.2 |