Property CommandsToBubbleUp
CommandsToBubbleUp
Gets or sets the list of commands that should bubble up to this View from unhandled SubViews or from SubViews within this View's adornments (Padding, Border). When a SubView raises a command that is not handled, and the command is in the SuperView's CommandsToBubbleUp list, the command will be invoked on the SuperView.
public IReadOnlyList<Command> CommandsToBubbleUp { get; set; }
Property Value
Remarks
For SubViews inside an AdornmentView (e.g., a button in Padding or Border), the bubble target is Parent rather than SuperView.
e.g. to enable Activate bubbling for hierarchical views:
<pre><code class="lang-csharp">menuBar.CommandsToBubbleUp = [Command.Activate];</code></pre>