WebGridRow Class

Definition

Represents a row in a WebGrid instance.

public class WebGridRow : System.Dynamic.DynamicObject, System.Collections.Generic.IEnumerable<object>
type WebGridRow = class
    inherit DynamicObject
    interface seq<obj>
    interface IEnumerable
Public Class WebGridRow
Inherits DynamicObject
Implements IEnumerable(Of Object)
Inheritance
WebGridRow
Implements

Constructors

WebGridRow(WebGrid, Object, Int32)

Initializes a new instance of the WebGridRow class using the specified WebGrid instance, row value, and index.

Properties

Item[Int32]

Returns the value at the specified index in the WebGridRow instance.

Item[String]

Returns the value that has the specified name in the WebGridRow instance.

Value

Gets an object that contains a property member for each value in the row.

WebGrid

Gets the WebGrid instance that the row belongs to.

Methods

GetEnumerator()

Returns an enumerator that can be used to iterate through the values of the WebGridRow instance.

GetSelectLink(String)

Returns an HTML element (a link) that users can use to select the row.

GetSelectUrl()

Returns the URL that can be used to select the row.

ToString()

Returns a string that represents all of the values of the WebGridRow instance.

TryGetMember(GetMemberBinder, Object)

Returns the value of a WebGridRow member that is described by the specified binder.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that can be used to iterate through a collection.

Applies to