public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime return true; else // DesignTime return properties.GetPropertyValue<bool>("EnableCheckbox"); }
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"; } }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime return true; else // DesignTime { bool allowDrag = properties.GetPropertyValue<bool>("AllowDrag"); return allowDrag; } }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime return true; else // DesignTime { bool columnLocking = properties.GetPropertyValue<bool>("EnableColumnLocking"); return !columnLocking; } }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime return true; else // DesignTime { bool showAsWindow = properties.GetPropertyValue<bool>("ShowAsWindow"); return showAsWindow; } }
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"; } }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime return true; else // DesignTime { bool viewport = properties.GetPropertyValue<bool>("Viewport"); //string Type = properties.GetPropertyValue<string>("Type"); return !viewport; } }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime { return(true); } else // DesignTime { return(properties.GetPropertyValue <bool>("EnableCheckbox")); } }
public bool GetDefaultValue(IPropertyBag properties, out object value) { string headerPosition = properties.GetPropertyValue<string>("HeaderPosition"); if (String.IsNullOrEmpty(headerPosition)) { value = "top"; return false; } value = headerPosition; return true; }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime { return(true); } else // DesignTime { string resizable = properties.GetPropertyValue <string>("RootVisible"); return(resizable == "true"); } }
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"); } }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime { return(true); } else // DesignTime { bool columnLocking = properties.GetPropertyValue <bool>("EnableColumnLocking"); return(!columnLocking); } }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime { return(true); } else // DesignTime { bool showAsWindow = properties.GetPropertyValue <bool>("ShowAsWindow"); return(showAsWindow); } }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime { return(true); } else // DesignTime { bool allowDrag = properties.GetPropertyValue <bool>("AllowDrag"); return(allowDrag); } }
public bool GetDefaultValue(IPropertyBag properties, out object value) { string headerPosition = properties.GetPropertyValue <string>("HeaderPosition"); if (String.IsNullOrEmpty(headerPosition)) { value = "top"; return(false); } value = headerPosition; return(true); }
public bool IsVisible(IPropertyBag properties) { if (base.CompareFromContext(properties, "UserMode", "1") != 0) // Runtime { return(true); } else // DesignTime { bool viewport = properties.GetPropertyValue <bool>("Viewport"); //string Type = properties.GetPropertyValue<string>("Type"); return(!viewport); } }