Added other symbol font names (Symbol, VESymb) to IsSymbolFont.
Check for null mySection before checking details on a new node. Error 177 - Hidden property added to use for collapse rather than Visible. Error 173 - Use DeleteItemInfoAndChildren on Cancel of a new ItemInfo.
This commit is contained in:
@@ -543,9 +543,15 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
return Top + (Visible ? Height : 0);
|
||||
return Top + (Hidden ? 0 : Height);
|
||||
}
|
||||
}
|
||||
private bool _Hidden = false;
|
||||
public bool Hidden
|
||||
{
|
||||
get { return _Hidden; }
|
||||
set { _Hidden = value; Visible = !value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Bottom most child
|
||||
/// </summary>
|
||||
@@ -1958,7 +1964,7 @@ namespace Volian.Controls.Library
|
||||
foreach (StepItem child in childStepItems)
|
||||
{
|
||||
if (child.Expanded) child.HideChildren();
|
||||
child.Visible = false;
|
||||
child.Hidden = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1989,7 +1995,7 @@ namespace Volian.Controls.Library
|
||||
child.UnhideChildren(expand);
|
||||
else if (expand)
|
||||
child.Expand(expand);
|
||||
child.Visible = true;
|
||||
child.Hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2031,7 +2037,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
child.Expand(true);
|
||||
}
|
||||
child.Visible = true;
|
||||
child.Hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user