RelativePanel.SetAlignRightWith(UIElement, Object) 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 relativePanel.AlignRightWith XAML terlampir untuk elemen target.
public:
static void SetAlignRightWith(UIElement ^ element, Platform::Object ^ value);
static void SetAlignRightWith(UIElement const& element, IInspectable const& value);
public static void SetAlignRightWith(UIElement element, object value);
function setAlignRightWith(element, value)
Public Shared Sub SetAlignRightWith (element As UIElement, value As Object)
Parameter
- element
- UIElement
Objek tempat nilai properti ditulis.
- value
-
Object
Platform::Object
IInspectable
Nilai yang akan ditetapkan. (Elemen untuk menyelaraskan tepi kanan elemen ini dengan.)
Keterangan
Metode ini adalah metode utilitas untuk sistem properti, dan tidak digunakan dalam sebagian besar skenario aplikasi. Dalam kebanyakan kasus, Anda mengatur properti terlampir RelativePanel.AlignRightWith XAML di XAML dan tidak memerlukan metode ini. Untuk informasi selengkapnya, lihat properti terlampir RelativePanel.AlignRightWith .