WebGridRow Class

Represents a row in a WebGrid instance.

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

public class WebGridRow : DynamicObject, IEnumerable<Object>, 

The WebGridRow type exposes the following members.

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

Public propertyItem[Int32]Returns the value at the specified index in the WebGridRow instance.
Public propertyItem[String]Returns the value that has the specified name in the WebGridRow instance.
Public propertyValueGets an object that contains a property member for each value in the row.
Public propertyWebGridGets the WebGrid instance that the row belongs to.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetDynamicMemberNames (Inherited from DynamicObject.)
Public methodGetEnumeratorReturns an enumerator that can be used to iterate through the values of the WebGridRow instance.
Public methodGetHashCode (Inherited from Object.)
Public methodGetMetaObject (Inherited from DynamicObject.)
Public methodGetSelectLinkReturns an HTML element (a link) that users can use to select the row.
Public methodGetSelectUrlReturns the URL that can be used to select the row.
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string that represents all of the values of the WebGridRow instance. (Overrides Object.ToString().)
Public methodTryBinaryOperation (Inherited from DynamicObject.)
Public methodTryConvert (Inherited from DynamicObject.)
Public methodTryCreateInstance (Inherited from DynamicObject.)
Public methodTryDeleteIndex (Inherited from DynamicObject.)
Public methodTryDeleteMember (Inherited from DynamicObject.)
Public methodTryGetIndex (Inherited from DynamicObject.)
Public methodTryGetMemberReturns the value of a WebGridRow member that is described by the specified binder. (Overrides DynamicObject.TryGetMember(GetMemberBinder, Object).)
Public methodTryInvoke (Inherited from DynamicObject.)
Public methodTryInvokeMember (Inherited from DynamicObject.)
Public methodTrySetIndex (Inherited from DynamicObject.)
Public methodTrySetMember (Inherited from DynamicObject.)
Public methodTryUnaryOperation (Inherited from DynamicObject.)

Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorReturns an enumerator that can be used to iterate through a collection.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.