Ejemplo n.º 1
0
 private void Rearrange()
 {
     if (!vm.ShowRGB && !vm.ShowAlpha && !vm.ShowAlphaOption && !vm.ShowHSV && !vm.ShowWebHexValue)
     {
         RHColor.Width = new GridLength(0, GridUnitType.Star);
         SelPanel.SetValue(Grid.RowProperty, 1);
         SelPanel.SetValue(Grid.ColumnProperty, 0);
     }
     else
     {
         RHColor.Width = new GridLength(1, GridUnitType.Star);
         SelPanel.SetValue(Grid.RowProperty, 0);
         SelPanel.SetValue(Grid.ColumnProperty, 1);
     }
 }
Ejemplo n.º 2
0
 void OnDestroy()
 {
     Ins = null;
 }
Ejemplo n.º 3
0
 void Awake()
 {
     Ins = this;
 }