public void SetComplexButtonView()
        {
            var cb = new ComplexButtonView();

            cb.Full(BuildItem());
            ComplexButtonView = cb;
        }
示例#2
0
        public void SetComplexButtonView()
        {
            var cb = new ComplexButtonView();

            cb.Full(SerchSections());
            ComplexButtonView = cb;
        }
        protected void SetComplexButtonView(SectionContentViewData data)
        {
            var cb = new ComplexButtonView();

            cb.Full(data);
            ComplexButtonView = cb;
        }
示例#4
0
        public void SetComplexButtonView()
        {
            var cb = new ComplexButtonView();

            cb.Full(_complexBtnInit());
            ComplexButtonView = cb;
        }
        protected void _setComplexButtonView()
        {
            ComplexButtonView = new ComplexButtonView();
            var complexButtonSettings = new SectionContentViewData {
                Left = new SectionItem {
                    ItemId        = "avatar",
                    IsComplexPart = false,
                    Data          = ImageView.Img(ChannelIcon, CreatorName, true, CreatorName)
                },
                Centr = new SectionItem {
                    ItemId        = "messages",
                    IsComplexPart = true,
                    Data          = new {
                        Head = ChannelName
                    }
                },
                Right = new SectionItem {
                    ItemId        = "delete",
                    IsComplexPart = false
                }
            };

            ComplexButtonView.Full(complexButtonSettings);
        }