A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/dotnet/communitytoolkit/maui/markup/extensions/image-extensions below:

Image extensions - .NET MAUI Community Toolkit - Community Toolkits for .NET

The Image extensions provide a series of extension methods that support configuring IImage controls.

The extensions offer the following methods:

Source

The Source method sets the Source property on an IImage element.

The following example sets the Source to "dotnet_bot":

new Image().Source("dotnet_bot");
Aspect

The Aspect method sets the Aspect property on an IImage element.

The following example sets the Aspect to Aspect.AspectFill:

new Image().Aspect(Aspect.AspectFill);
IsOpaque

The IsOpaque method sets the IsOpaque property on an IImage element.

The following example sets the IsOpaque to true:

new Image().IsOpaque(true);

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4