Visual Basic (Declaration) | |
---|---|
Public Property Stretch As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public int Stretch {get; set;} |
XAML Attributes Usage | |
---|---|
<object Stretch =int > |
Dependencies Property Information | |
---|---|
Identifier field | StretchProperty |
Metadata properties set to true | None |
XAML Attributes Usage | |
---|---|
<object Stretch =int > |
Dependencies Property Information | |
---|---|
Identifier field | StretchProperty |
Metadata properties set to true | None |
Return Value
Value that indicates whether to expand or compress the image, and by how much. If Stretch < 100 image will be expanded. If Stretch > 100 the image will be compressed. Use 100 to maintain the image's dimensions. The value of this property is internally divided by 100. This property only accepts positive values.For XAML example, refer to TunnelCommandBitmapEffect.
For C#/VB examples, refer to TunnelCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family