Inheritance: IElement_TileBindingChild, IElement_TileSubgroupChild
示例#1
0
        internal Element_TileImage ConvertToElement()
        {
            Element_TileImage image = new Element_TileImage();

            PopulateElement(image);

            return(image);
        }
        internal Element_TileImage ConvertToElement()
        {
            Element_TileImage image = new Element_TileImage();

            PopulateElement(image);

            return image;
        }
        internal Element_TileImage ConvertToElement()
        {
            Element_TileImage image = new Element_TileImage()
            {
                Crop = Crop,
                RemoveMargin = RemoveMargin,
                Align = Align,
                Placement = TileImagePlacement.Inline
            };

            if (Source == null)
                throw new NullReferenceException("Source property is required on TileImage");

            Source.PopulateElement(image);

            return image;
        }
示例#4
0
        internal Element_TileImage ConvertToElement()
        {
            Element_TileImage image = new Element_TileImage()
            {
                Placement = TileImagePlacement.Background,
                Crop      = Crop
                            // Overlay will be set on the Binding element
            };

            if (Source == null)
            {
                throw new NullReferenceException("Source property is required on TileBackgroundImage");
            }

            Source.PopulateElement(image);

            return(image);
        }
示例#5
0
        internal Element_TileImage ConvertToElement()
        {
            Element_TileImage image = new Element_TileImage()
            {
                Placement = TileImagePlacement.Peek,
                Crop      = Crop
                            // Overlay will be handled by BindingContentAdaptive
            };

            if (Source == null)
            {
                throw new NullReferenceException("Source property is required on TilePeekImage");
            }

            Source.PopulateElement(image);

            return(image);
        }
示例#6
0
        internal Element_TileImage ConvertToElement()
        {
            Element_TileImage image = new Element_TileImage()
            {
                Crop         = Crop,
                RemoveMargin = RemoveMargin,
                Align        = Align,
                Placement    = TileImagePlacement.Inline
            };

            if (Source == null)
            {
                throw new NullReferenceException("Source property is required on TileImage");
            }

            Source.PopulateElement(image);

            return(image);
        }
 internal void PopulateElement(Element_TileImage image)
 {
     image.Src = Src;
     image.Alt = Alt;
     image.AddImageQuery = AddImageQuery;
 }
示例#8
0
 internal void PopulateElement(Element_TileImage image)
 {
     image.Src           = Src;
     image.Alt           = Alt;
     image.AddImageQuery = AddImageQuery;
 }
        internal Element_TileImage ConvertToElement()
        {
            Element_TileImage image = new Element_TileImage()
            {
                Placement = TileImagePlacement.Background,
                Crop = Crop
                // Overlay will be set on the Binding element
            };

            if (Source == null)
                throw new NullReferenceException("Source property is required on TileBackgroundImage");

            Source.PopulateElement(image);

            return image;
        }
        internal Element_TileImage ConvertToElement()
        {
            Element_TileImage image = new Element_TileImage()
            {
                Placement = TileImagePlacement.Peek,
                Crop = Crop
                // Overlay will be handled by BindingContentAdaptive
            };

            if (Source == null)
                throw new NullReferenceException("Source property is required on TilePeekImage");

            Source.PopulateElement(image);

            return image;
        }