public IsVisible ( IPropertyBag properties ) : bool | ||
properties | IPropertyBag | |
리턴 | bool |
public bool IsVisible(IPropertyBag properties)
{
if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime
return true;
else // DesignTime
{
string resizable = properties.GetPropertyValue<string>("Resizable");
return resizable == "true";
}
}