Show / Hide Table of Contents

Method WithStyle

| Improve this Doc View Source

WithStyle<T>(T, Style)

Sets style for binding.

Declaration
public static T WithStyle<T>(this T binding, Style value)

    where T : Binding
Parameters
Type Name Description
T binding

The binding.

System.Windows.Style value

The style.

Returns
Type Description
T

The binding for fluent coding.

Type Parameters
Name Description
T

The type of the binding.

| Improve this Doc View Source

WithStyle<T>(T, StyleId)

Sets style for binding.

Declaration
public static T WithStyle<T>(this T binding, StyleId value)

    where T : Binding
Parameters
Type Name Description
T binding

The binding.

StyleId value

The style id.

Returns
Type Description
T

The binding for fluent coding.

Type Parameters
Name Description
T

The type of the binding.

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