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; }
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); }
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; }
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; }