public static Generate ( Expression |
||
expression | Expression |
|
Результат | System.Windows.FrameworkElementFactory |
public static DataTemplate GetDataTemplate(System.Linq.Expressions.Expression <Func <FrameworkElement> > constructor) { return(new DataTemplate { VisualTree = FrameworkElementFactoryGenerator.Generate(constructor) }); }
public static FrameworkElementFactory GetFrameworkElementFactory(System.Linq.Expressions.Expression <Func <FrameworkElement> > constructor) { return(FrameworkElementFactoryGenerator.Generate(constructor)); }