Show / Hide Table of Contents

Method WithDisplayName

| Improve this Doc View Source

WithDisplayName<T>(T, String)

Specifies display name for column.

Declaration
public static T WithDisplayName<T>(this T column, string value)

    where T : Column, new()
Parameters
Type Name Description
T column

The column.

System.String value

The value.

Returns
Type Description
T

This column for fluent coding.

Type Parameters
Name Description
T

Type of the column.

| Improve this Doc View Source

WithDisplayName<T>(T, Func<String>)

Specifies display name for column.

Declaration
public static T WithDisplayName<T>(this T column, Func<string> displayNameGetter)

    where T : Column, new()
Parameters
Type Name Description
T column

The column.

System.Func<System.String> displayNameGetter

Delegate to get the display name.

Returns
Type Description
T

This column for fluent coding.

Type Parameters
Name Description
T

Type of the column.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest