XamlDirect.SetSizeProperty(IXamlDirectObject, XamlPropertyIndex, Size) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengatur nilai properti Ukuran untuk IXamlDirectObject tertentu.
public:
virtual void SetSizeProperty(IXamlDirectObject ^ xamlDirectObject, XamlPropertyIndex propertyIndex, Size value) = SetSizeProperty;
void SetSizeProperty(IXamlDirectObject const& xamlDirectObject, XamlPropertyIndex const& propertyIndex, Size const& value);
public void SetSizeProperty(IXamlDirectObject xamlDirectObject, XamlPropertyIndex propertyIndex, Size value);
function setSizeProperty(xamlDirectObject, propertyIndex, value)
Public Sub SetSizeProperty (xamlDirectObject As IXamlDirectObject, propertyIndex As XamlPropertyIndex, value As Size)
Parameter
- xamlDirectObject
- IXamlDirectObject
Referensi ke IXamlDirectObject tertentu.
- propertyIndex
- XamlPropertyIndex
Referensi ke properti Ukuran untuk mengatur nilai dari daftar properti yang didukung di enum XamlPropertyIndex .
- value
- Size
Nilai ukuran yang akan diatur ke properti yang ditentukan.