Readdy Write  
0,00 €
Your View Money
Views: Count
Self 20% 0
Your Content 60% 0

Users by Links 0
u1*(Content+Views) 10% 0
Follow-Follower 0
s2*(Income) 5% 0

Count
Followers 0
Login Register as User

Darstellung von Image Stretch None Fill Uniform UniformToFill

23.12.2020 (👁163)

Aussehen von Image Stretch None Fill Uniform UniformToFill

 

Bilder werden in Windows Xaml Images in 4 verschiedenen Größen angepasst dargestellt.

Stretch:

1.    

None

2.    

Fill

3.    

Uniform

4.    

UniformToFill

 

Hier werden die 4 Darstellungen von Images über die Einstellungen von Stretch dargestellt

Stretch="None"

<Image x:Name="tnImage" Stretch="None" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ></Image>

 

Stretch="Fill"

<Image x:Name="tnImage" Stretch="Fill" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ></Image>

 

Stretch="Uniform"

<Image x:Name="tnImage" Stretch="Uniform" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ></Image>

 

Stretch="UniformToFill"

<Image x:Name="tnImage" Stretch="UniformToFill" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ></Image>

 

 

Windows WinUI Xaml

WinUI, UWP