当前位置: 首页>>代码示例>>C#>>正文


C# Windows.TileBinding类代码示例

本文整理汇总了C#中PushSharp.Windows.TileBinding的典型用法代码示例。如果您正苦于以下问题:C# TileBinding类的具体用法?C# TileBinding怎么用?C# TileBinding使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


TileBinding类属于PushSharp.Windows命名空间,在下文中一共展示了TileBinding类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: WithTileWideText09

        /// <summary>
        /// One header string in larger text over one string of regular text wrapped over a maximum of four lines. For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileWideText09(this WindowsTileNotification notification, string largeTextLine1, string wrappedTextLine2, string language = null, string fallback = null, BrandingType? branding = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileWideText09,
                Language = language,
                Fallback = fallback,
                Branding = branding,
            };

            binding.Texts.Add(new TileText() { Language = language, Text = largeTextLine1 });
            binding.Texts.Add(new TileText() { Language = language, Text = wrappedTextLine2 });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:JamesLupiani,项目名称:PushSharp,代码行数:18,代码来源:WindowsFluent.cs

示例2: WithTileWideText11

        /// <summary>
        /// Ten short strings of regular text arranged in two columns of five lines each. The column widths are such that the first column acts as a label and the second column as the content. This template is similar to TileWideText08, but the first column is narrower.
        ///  For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileWideText11(this WindowsTileNotification notification, string textLine1Col1, string textLine1Col2, string textLine2Col1, string textLine2Col2, string textLine3Col1, string textLine3Col2, string textLine4Col1, string textLine4Col2, string language = null, string fallback = null, BrandingType? branding = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileWideText11,
                Language = language,
                Fallback = fallback,
                Branding = branding,
            };

            binding.Texts.Add(new TileText() { Language = language, Text = textLine1Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine1Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine2Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine2Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine3Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine3Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine4Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine4Col2 });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:JamesLupiani,项目名称:PushSharp,代码行数:25,代码来源:WindowsFluent.cs

示例3: WithTileSquare310x310Text03

        /// <summary>
        /// Eleven strings of regular text on eleven lines. Text does not wrap.
        /// Note  This template requires the visual element to declare version="2".
        /// For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileSquare310x310Text03(
            this WindowsTileNotification notification,
            string smallTextLine1,
            string smallTextLine2,
            string smallTextLine3,
            string smallTextLine4,
            string smallTextLine5,
            string smallTextLine6,
            string smallTextLine7,
            string smallTextLine8,
            string smallTextLine9,
                        string smallTextLine10,
                        string smallTextLine11,
            string language = null,
            string fallback = null,
            string baseUri = null,
            BrandingType? branding = null,
            bool? addImageQuery = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileSquare310x310Text03,
                Language = language,
                Fallback = fallback,
                BaseUri = baseUri,
                Branding = branding,
                AddImageQuery = addImageQuery
            };

            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine3 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine4 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine5 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine6 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine7 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine8 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine9 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine10 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine11 });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:itoledo,项目名称:PushSharp,代码行数:48,代码来源:WindowsFluent.cs

示例4: WithTileWideText05

        /// <summary>
        /// Five strings of regular text on five lines. Text does not wrap. For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileWideText05(this WindowsTileNotification notification, string textLine1 = null, string textLine2 = null, string textLine3 = null, string textLine4 = null, string textLine5 = null, string language = null, string fallback = null, BrandingType? branding = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileWideText05,
                Language = language,
                Fallback = fallback,
                Branding = branding,
            };

            if (textLine1 != null)
                binding.Texts.Add(new TileText() { Language = language, Text = textLine1 });

            if (textLine2 != null)
                binding.Texts.Add(new TileText() { Language = language, Text = textLine2 });

            if (textLine3 != null)
                binding.Texts.Add(new TileText() { Language = language, Text = textLine3 });

            if (textLine4 != null)
                binding.Texts.Add(new TileText() { Language = language, Text = textLine4 });

            if (textLine5 != null)
                binding.Texts.Add(new TileText() { Language = language, Text = textLine5 });

            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:JamesLupiani,项目名称:PushSharp,代码行数:31,代码来源:WindowsFluent.cs

示例5: WithTileWideBlockAndText02

        /// <summary>
        /// One string of regular text wrapped over a maximum of four lines on the left; large block text over a single, short string of bold, regular text on the right.
        ///  For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileWideBlockAndText02(this WindowsTileNotification notification, string wrappedTextLeft, string boldLargeTextRight, string boldTextBottomRight, string language = null, string fallback = null, BrandingType? branding = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileWideBlockAndText02,
                Language = language,
                Fallback = fallback,
                Branding = branding,
            };

            binding.Texts.Add(new TileText() { Language = language, Text = wrappedTextLeft });
            binding.Texts.Add(new TileText() { Language = language, Text = boldLargeTextRight });
            binding.Texts.Add(new TileText() { Language = language, Text = boldTextBottomRight });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:JamesLupiani,项目名称:PushSharp,代码行数:20,代码来源:WindowsFluent.cs

示例6: WithTileWidePeekImageAndText02

        /// <summary>
        /// Top: One wide image. Bottom: Five strings of regular text on five lines. Text does not wrap.
        ///  For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileWidePeekImageAndText02(this WindowsTileNotification notification, string textLine1, string textLine2, string textLine3, string textLine4, string textLine5, string image1Source, string image1Alt = null, string language = null, string fallback = null, string baseUri = null, BrandingType? branding = null, bool? addImageQuery = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileWidePeekImageAndText02,
                Language = language,
                Fallback = fallback,
                BaseUri = baseUri,
                Branding = branding,
                AddImageQuery = addImageQuery
            };

            binding.Images.Add(new TileImage() { AddImageQuery = addImageQuery, Alt = image1Alt, Source = image1Source });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine1 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine2 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine3 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine4 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine5 });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:JamesLupiani,项目名称:PushSharp,代码行数:25,代码来源:WindowsFluent.cs

示例7: WithTileSquare150x150PeekImageAndText02

        /// <summary>
        /// Top: Square image, no text. Bottom: One header string in larger text on the first line, over one string of regular text wrapped over a maximum of three lines. For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileSquare150x150PeekImageAndText02(this WindowsTileNotification notification, string imageSource, string imageAlt, string largeTextLine1, string smallTextLine2, string language = null, string fallback = null, string baseUri = null, BrandingType? branding = null, bool? addImageQuery = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileSquare150x150PeekImageAndText02,
                Language = language,
                Fallback = fallback ?? TileNotificationTemplate.TileSquarePeekImageAndText02.ToString(),
                BaseUri = baseUri,
                Branding = branding,
                AddImageQuery = addImageQuery
            };

            binding.Images.Add(new TileImage() { AddImageQuery = addImageQuery, Alt = imageAlt, Source = imageSource });
            binding.Texts.Add(new TileText() { Language = language, Text = largeTextLine1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine2 });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:itoledo,项目名称:PushSharp,代码行数:21,代码来源:WindowsFluent.cs

示例8: WithTileSquareText03

        /// <summary>
        /// Four strings of regular text on four lines. Text does not wrap. For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileSquareText03(this WindowsTileNotification notification, string textLine1 = null, string textLine2 = null, string textLine3 = null, string textLine4 = null, string language = null, string fallback = null, string baseUri = null, BrandingType? branding = null, bool? addImageQuery = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileSquareText03,
                Language = language,
                Fallback = fallback,
                BaseUri = baseUri,
                Branding = branding,
                AddImageQuery = addImageQuery
            };

            if (textLine1 != null)
                binding.Texts.Add(new TileText() { Language = language, Text = textLine1 });

            if (textLine2 != null)
                binding.Texts.Add(new TileText() { Language = language, Text = textLine2 });

            if (textLine3 != null)
                binding.Texts.Add(new TileText() { Language = language, Text = textLine3 });

            if (textLine4 != null)
                binding.Texts.Add(new TileText() { Language = language, Text = textLine4 });

            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:JamesLupiani,项目名称:PushSharp,代码行数:30,代码来源:WindowsFluent.cs

示例9: WithTileWide310x150SmallImageAndText05

        /// <summary>
        /// On the left, one header string in larger text over one string of regular text wrapped over a maximum of four lines; on the right, one small image with 3:4 dimensions.
        ///  For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileWide310x150SmallImageAndText05(this WindowsTileNotification notification, string largeTextLeft, string wrappedTextLeft, string image1Source, string image1Alt = null, string language = null, string fallback = null, string baseUri = null, BrandingType? branding = null, bool? addImageQuery = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileWide310x150SmallImageAndText05,
                Language = language,
                Fallback = fallback ?? TileNotificationTemplate.TileWideSmallImageAndText05.ToString(),
                BaseUri = baseUri,
                Branding = branding,
                AddImageQuery = addImageQuery
            };

            binding.Images.Add(new TileImage() { AddImageQuery = addImageQuery, Alt = image1Alt, Source = image1Source });
            binding.Texts.Add(new TileText() { Language = language, Text = largeTextLeft });
            binding.Texts.Add(new TileText() { Language = language, Text = wrappedTextLeft });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:itoledo,项目名称:PushSharp,代码行数:22,代码来源:WindowsFluent.cs

示例10: WithTileWide310x150Text05

        /// <summary>
        /// Five strings of regular text on five lines. Text does not wrap. For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileWide310x150Text05(this WindowsTileNotification notification, string textLine1, string textLine2, string textLine3, string textLine4, string textLine5, string language = null, string fallback = null, BrandingType? branding = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileWide310x150Text05,
                Language = language,
                Fallback = fallback ?? TileNotificationTemplate.TileWideText05.ToString(),
                Branding = branding,
            };

            binding.Texts.Add(new TileText() { Language = language, Text = textLine1 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine2 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine3 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine4 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine5 });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:itoledo,项目名称:PushSharp,代码行数:21,代码来源:WindowsFluent.cs

示例11: WithTileWide310x150BlockAndText01

        /// <summary>
        /// Four strings of regular, unwrapped text on the left; large block text over a single, short string of bold, regular text on the right. For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileWide310x150BlockAndText01(this WindowsTileNotification notification, string textLine1, string textLine2, string textLine3, string textLine4, string boldLargeTextRight, string boldTextBottomRight, string language = null, string fallback = null, BrandingType? branding = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileWide310x150BlockAndText01,
                Language = language,
                Fallback = fallback ?? TileNotificationTemplate.TileWideBlockAndText01.ToString(),
                Branding = branding,
            };

            binding.Texts.Add(new TileText() { Language = language, Text = textLine1 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine2 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine3 });
            binding.Texts.Add(new TileText() { Language = language, Text = textLine4 });
            binding.Texts.Add(new TileText() { Language = language, Text = boldLargeTextRight });
            binding.Texts.Add(new TileText() { Language = language, Text = boldTextBottomRight });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:itoledo,项目名称:PushSharp,代码行数:22,代码来源:WindowsFluent.cs

示例12: WithTileSquare310x310TextList03

        /// <summary>
        /// Three stacked notices, each containing one header string in larger text over one string of regular text wrapped over a maximum of two lines.
        /// Note  This template requires the visual element to declare version="2". 
        /// For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileSquare310x310TextList03(
            this WindowsTileNotification notification,
            string HeaderText1,
            string wrappedText1,
            string HeaderText2,
            string wrappedText2,
            string HeaderText3,
            string wrappedText3,
            string language = null,
            string fallback = null,
            BrandingType? branding = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileSquare310x310TextList03,
                Language = language,
                Fallback = fallback,
                Branding = branding
            };

            binding.Texts.Add(new TileText() { Language = language, Text = HeaderText1 });
            binding.Texts.Add(new TileText() { Language = language, Text = wrappedText1 });
            binding.Texts.Add(new TileText() { Language = language, Text = HeaderText2 });
            binding.Texts.Add(new TileText() { Language = language, Text = wrappedText2 });
            binding.Texts.Add(new TileText() { Language = language, Text = HeaderText1 });
            binding.Texts.Add(new TileText() { Language = language, Text = wrappedText3 });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:itoledo,项目名称:PushSharp,代码行数:34,代码来源:WindowsFluent.cs

示例13: WithTileSquare310x310Text08

        /// <summary>
        /// Twenty-two short strings of regular text arranged in two columns of eleven lines each. The column widths are such that the first column acts as a label and the second column as the content.
        /// This template is similar to TileSquare310x310Text06, which has a wider first column, and TileSquare310x310Text04, which has columns of equal width.
        /// Note  This template requires the visual element to declare version="2".
        /// For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileSquare310x310Text08(
            this WindowsTileNotification notification,
            string smallTextLine1Col1,
            string smallTextLine2Col1,
            string smallTextLine3Col1,
            string smallTextLine4Col1,
            string smallTextLine5Col1,
            string smallTextLine6Col1,
            string smallTextLine7Col1,
            string smallTextLine8Col1,
            string smallTextLine9Col1,
            string smallTextLine10Col1,
            string smallTextLine11Col1,
            string smallTextLine1Col2,
            string smallTextLine2Col2,
            string smallTextLine3Col2,
            string smallTextLine4Col2,
            string smallTextLine5Col2,
            string smallTextLine6Col2,
            string smallTextLine7Col2,
            string smallTextLine8Col2,
            string smallTextLine9Col2,
            string smallTextLine10Col2,
            string smallTextLine11Col2,
            string language = null,
            string fallback = null,
            string baseUri = null,
            BrandingType? branding = null,
            bool? addImageQuery = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileSquare310x310Text08,
                Language = language,
                Fallback = fallback,
                BaseUri = baseUri,
                Branding = branding,
                AddImageQuery = addImageQuery
            };

            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine1Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine1Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine2Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine2Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine3Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine3Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine4Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine4Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine5Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine5Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine6Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine6Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine7Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine7Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine8Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine8Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine9Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine9Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine10Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine10Col2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine11Col1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine11Col2 });

            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:itoledo,项目名称:PushSharp,代码行数:72,代码来源:WindowsFluent.cs

示例14: WithTileSquarePeekImageAndText04

        /// <summary>
        /// Top: Square image, no text. Bottom: One string of regular text wrapped over a maximum of four lines. For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileSquarePeekImageAndText04(this WindowsTileNotification notification, string imageSource = null, string imageAlt = null, string wrappedText = null, string language = null, string fallback = null, string baseUri = null, BrandingType? branding = null, bool? addImageQuery = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileSquarePeekImageAndText04,
                Language = language,
                Fallback = fallback,
                BaseUri = baseUri,
                Branding = branding,
                AddImageQuery = addImageQuery
            };

            if (imageSource != null)
                binding.Images.Add(new TileImage() { AddImageQuery = addImageQuery, Alt = imageAlt, Source = imageSource });

            if (wrappedText != null)
                binding.Texts.Add(new TileText() { Language = language, Text = wrappedText });

            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:JamesLupiani,项目名称:PushSharp,代码行数:24,代码来源:WindowsFluent.cs

示例15: WithTileSquare150x150Text01

        /// <summary>
        /// One header string in larger text on the first line; three strings of regular text on each of the next three lines. Text does not wrap. For more information and example screenshots of the various Tile Layouts see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx
        /// </summary>
        public static WindowsTileNotification WithTileSquare150x150Text01(this WindowsTileNotification notification, string largeText, string smallTextLine1, string smallTextLine2, string smallTextLine3, string language = null, string fallback = null, string baseUri = null, BrandingType? branding = null, bool? addImageQuery = null)
        {
            var binding = new TileBinding()
            {
                TileTemplate = TileNotificationTemplate.TileSquare150x150Text01,
                Language = language,
                Fallback = fallback ?? TileNotificationTemplate.TileSquareText01.ToString(),
                BaseUri = baseUri,
                Branding = branding,
                AddImageQuery = addImageQuery
            };

            binding.Texts.Add(new TileText() { Language = language, Text = largeText });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine1 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine2 });
            binding.Texts.Add(new TileText() { Language = language, Text = smallTextLine3 });
            notification.Visual.Bindings.Add(binding);
            return notification;
        }
开发者ID:itoledo,项目名称:PushSharp,代码行数:22,代码来源:WindowsFluent.cs


注:本文中的PushSharp.Windows.TileBinding类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。