Exemplo n.º 1
0
        private void Execute(object sender, EventArgs e)
        {
            var window = new Window.Window
            {
                Width   = 350,
                Height  = 180,
                Content = new ColorPickerControl()
            };

            window.ShowDialog();
        }
Exemplo n.º 2
0
 get => this.GetVisualFromTemplate(this._headerTemplateFilePath, this._dataSourceObject);
Exemplo n.º 3
0
 get => Equals(BooleanBoxes.True, this.GetValue(IsTrueProperty));
Exemplo n.º 4
0
 private void OnSelectionArea(SSPayload<Tuple<bool, Point.Point, Point.Point>> ssPayload)
 {
     if (ssPayload.Value.Item1)
     {
         _selectionWindow.Close();
         pt1 = ssPayload.Value.Item2;
         pt2 = ssPayload.Value.Item3;
         InteractionManager.GetCommand<SSSelectionRegionFinished>().Publish(new SSPayload<bool>(true));
     }
     else
     {
         InteractionManager.GetCommand<SSSelectionRegionFinished>().Publish(new SSPayload<bool>(false));
     }
 }