public void AddNewStyle(StyleDefinition definition, string styleOriginalString) { var newStyle = new RealStylesTreeItem(definition, styleOriginalString); ComputeParents(newStyle); CreateOrUpdateStylesTreeItem(newStyle); }
public void AddNewStyle(StyleDefinition definition, string styleOriginalString) { var newStyle = new RealStylesTreeItem(definition, styleOriginalString); ComputeParents(newStyle); CreateOrUpdateStylesTreeItem(newStyle); }
internal RealStylesTreeItem(RealStylesTreeItem parent, int styleAlterationIdx) : base((parent.GetDefinition()).AddStyleAlterationIdx(styleAlterationIdx)) { }
internal RealStylesTreeItem(RealStylesTreeItem parent, int styleAlterationIdx) : base((parent.GetDefinition()).AddStyleAlterationIdx(styleAlterationIdx)) { }