【二开案例】移动BOS九宫格控件插件赋值及设置角标

//九宫格控件插件赋值及设置角标,示例:
public override void AfterBindData(EventArgs e)
{
base.AfterBindData(e);
//this.SetMobileList();
//this.SetMobileProxy();
//this.SetListView();
//this.SetGridList();
this.SetMetroView();
}
private void SetMetroView()
{
var control = this.View.LayoutInfo.GetAppearance("FMetroView1");
if (control == null) return;
List<GridItem> list = new List<GridItem>();
list.Add(new GridItem() { FKey = "yingwu", FIcon = "bas_CloudReport.webp", FCaption = new LocaleValue("鹦鹉"),
ShowBadge = true, BadgeDefaultText = new LocaleValue("8"), BadgeBackColor = "134,186,235", BadgeType = 3 });
list.Add(new GridItem() { FKey = "xique", FIcon = "bas_ProcessReport.webp", FCaption = new LocaleValue("喜鹊") });
list.Add(new GridItem() { FKey = "wuya", FIcon = "bas_PeriodServcie.webp", FCaption = new LocaleValue("乌鸦") });
list.Add(new GridItem() { FKey = "yuanyan【二开案例】移动BOS九宫格控件插件赋值及设置角标
//九宫格控件插件赋值及设置角标,示例:public override void AfterBindData(EventArgs e) { base.AfterBindData(e); ...
点击下载文档文档为doc格式
声明:除非特别标注,否则均为本站原创文章,转载时请以链接形式注明文章出处。如若本站内容侵犯了原著者的合法权益,可联系本站删除。
上一篇
已经是第一篇



