本文整理匯總了C#中System.Workflow.ComponentModel.DependencyProperty類的典型用法代碼示例。如果您正苦於以下問題:C# DependencyProperty類的具體用法?C# DependencyProperty怎麽用?C# DependencyProperty使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
DependencyProperty類屬於System.Workflow.ComponentModel命名空間,在下文中一共展示了DependencyProperty類的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: typeof
// Define the DependencyProperty objects for all of the Properties
// ...and Events exposed by this activity
public static DependencyProperty FromProperty = DependencyProperty.Register("From", typeof(string), typeof(SendEmailActivity), new PropertyMetadata("someone@example.com"));
public static DependencyProperty ToProperty = DependencyProperty.Register("To", typeof(string), typeof(SendEmailActivity), new PropertyMetadata("someone@example.com"));