Artech.UC.gxui.PropertiesResolvers.GridExtension.GridHeightResolver.IsVisible C# (CSharp) Method

IsVisible() public method

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