Inheritance: IElement_TileBindingChild, IElement_TileSubgroupChild
Beispiel #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;
        }
Beispiel #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);
        }
Beispiel #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);
        }
Beispiel #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;
 }
Beispiel #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;
        }