public override Figure EnableSelectionFeedback(bool isFeedbackEnabled) { if (isFeedbackEnabled) { _storedDashStyle = DashStyle; _storedFillColor = FillColor; FillColor = FillColor.Lighter(0.5); DashStyle = DashStyles.Dash; } else { FillColor = _storedFillColor; DashStyle = _storedDashStyle; } Canvas?.NeedsRepaint(this); return(this); }