コード例 #1
0
        public static CarrousselButton CreateCarrousselLinkButton(string buttonName, string url, int Container, int Order)
        {
            CarrousselButton btn = new CarrousselButton();

            btn.Container    = Container;
            btn.DocumentType = CreateLink(url, buttonName);
            btn.Order        = Order;
            btn.Type         = ButtonType.Default;
            return(btn);
        }
コード例 #2
0
        public static CarrousselButton CreateCarrousselShareButton(int Container, int Order)
        {
            CarrousselButton btn = new CarrousselButton();

            btn.Container    = Container;
            btn.DocumentType = new WebLink();
            (btn.DocumentType as WebLink).Uri = new Uri("share:");
            btn.Order = Order;
            btn.Type  = ButtonType.Share;
            return(btn);
        }
コード例 #3
0
        public static CarrousselButton CreateCarrousselTextButton(string buttonName, string value, int Container, int Order)
        {
            CarrousselButton btn = new CarrousselButton();

            btn.Container    = Container;
            btn.DocumentType = CreateText(buttonName);
            btn.Value        = value;
            btn.Order        = Order;
            btn.Type         = ButtonType.Default;
            return(btn);
        }