Show / Hide Table of Contents

Method SetupCommandEntries

| Improve this Doc View Source

SetupCommandEntries<TService, TElement>(TElement, TService, Func<TService, TElement, IEnumerable<CommandEntry>>)

Setup command entries for specified view element.

Declaration
public static void SetupCommandEntries<TService, TElement>(this TElement element, TService commandService, Func<TService, TElement, IEnumerable<CommandEntry>> getCommandEntries)

    where TService : IService where TElement : UIElement
Parameters
Type Name Description
TElement element

The view element.

TService commandService
System.Func<TService, TElement, System.Collections.Generic.IEnumerable<CommandEntry>> getCommandEntries

Delegate to get command entries.

Type Parameters
Name Description
TService

Type of service.

TElement

Type of view element.

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