public CustomCommandDisplayPart(CustomCommandNotification notification) { InitializeComponent(); _notification = notification; DataContext = notification; }
public CustomCommandDisplayPart(CustomCommandNotification notification) { InitializeComponent(); Bind(notification); }