public CustomInputDisplayPart(CustomInputNotification notification) { InitializeComponent(); Bind(notification); }
public CustomInputDisplayPart(CustomInputNotification notification) { InitializeComponent(); _notification = notification; DataContext = notification; }