-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DYN-4686 several changes in the group style context menu. (#12728)
- Removed the IsChecked property so is not serialized into the dyn file. - Removed the CurrentGroupStyleSelected property due that is was used for the checkmark functionality. - All the functionality for checking and unchecking groupstyle menuitems was removed. - Removed the checkmark label that was appearing next to the group style. - The color contextmenu was moved to be a submenuitem.
- Loading branch information
1 parent
b348f27
commit ac5968d
Showing
4 changed files
with
28 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,6 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Dynamo.Configuration | ||
namespace Dynamo.Configuration | ||
{ | ||
public class GroupStyleItem: StyleItem | ||
{ | ||
private bool isChecked = false; | ||
|
||
/// <summary> | ||
/// This property will say it we should display the checkmark in the MenuItem (appearing in the GroupStyles context menu) | ||
/// </summary> | ||
public bool IsChecked | ||
{ | ||
get { return isChecked; } | ||
set | ||
{ | ||
isChecked = value; | ||
RaisePropertyChanged(nameof(IsChecked)); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters