private void OnContentInvalidated(object sender, ContentInvalidatedEventArgs e) { var bounds = e.Bounds; if (IsSelectable) { bounds.X += SelectionMargin; } InvalidateSafe(bounds); }
private void OnContentInvalidated(object sender, ContentInvalidatedEventArgs e) { var bounds = e.Bounds; if(IsSelectable) { bounds.X += SelectionMargin; } InvalidateSafe(bounds); }