Ejemplo n.º 1
0
        private void CurrentToolChanged(Windows.UI.Xaml.Controls.InkToolbar sender, object args)
        {
            bool enabled = sender.ActiveTool.Equals(toolButtonLasso);

            ToolButtonPanel.Visibility = enabled ? Visibility.Visible : Visibility.Collapsed;
            ButtonCut.IsEnabled        = enabled;
            ButtonCopy.IsEnabled       = enabled;
            ButtonPaste.IsEnabled      = enabled;
        }
Ejemplo n.º 2
0
 private void InkToolbar_ChildChanged(object sender, EventArgs e)
 {
     _inkToolbar = ((WindowsXamlHost)sender).Child as UWP.InkToolbar;
     SetupInkControls();
 }