ppsGrid Class Library
BackgroundImageLayout Property
NamespacesppsGridGridBackgroundImageLayout
ppsGrid (c] 2004-2007 by Torsten Oberprieler
Ruft das Layout für das Hintergrundbild wie in der eImageLayout-Enumeration definiert ab oder legt dieses fest.
Declaration Syntax
C#Visual BasicVisual C++
public eImageLayout BackgroundImageLayout{ get; set;}
Public Property BackgroundImageLayout As eImageLayout
public:
property eImageLayout BackgroundImageLayout {
	eImageLayout get ();
	void set (eImageLayout value);
}
Value
Einer der Werte von ImageLayout (Center, None, Stretch, Tile oder Zoom). None ist der Standardwert.
Remarks
Geben Sie mithilfe der BackgroundImageLayout-Eigenschaft die Position und das Verhalten eines Hintergrundbilds an, das Sie im Grid abgelegt haben. BackgroundImageLayout wird erst wirksam, wenn Sie einen Wert für die BackgroundImage-Eigenschaft festgelegt haben.
Examples
CopyC#
...
grid = new Grid();
grid.BackgroundImage = Image.FromFile(...);      // Hintergrundbild laden
grid.BackgroundImageLayout = eImageLayout.Zoom;  // Layout 'Zoom' setzen
...
See Also
eImageLayout
BackgroundImage

Assembly: ppsGrid (Module: ppsGrid) Version: 1.3.4.0