| WindowIconSourceRectangle Property |
Gets or sets the region of the
Icon texture that contains the icon.
This is a game object property.
Namespace: DigitalRune.Game.UI.ControlsAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public Nullable<Rectangle> IconSourceRectangle { get; set; }
Public Property IconSourceRectangle As Nullable(Of Rectangle)
Get
Set
public:
property Nullable<Rectangle> IconSourceRectangle {
Nullable<Rectangle> get ();
void set (Nullable<Rectangle> value);
}
member IconSourceRectangle : Nullable<Rectangle> with get, set
Property Value
Type:
NullableRectangle
The region of the
Icon texture that contains the icon. Can be
if the whole
Icon texture should be drawn.
The default value is
.
Remarks Special notes for Windows Universal (UWP):
Usually, the type of this property is a nullable rectangle. In UWP nullable game object
properties cannot be used because of a bug in .NET Native. Therefore, the type of this
property is not nullable in the UWP build. Use an Empty rectangle if
the whole texture should be displayed.
See Also