TeachingTip.ShouldConstrainToRootBounds Properti
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.
Mendapatkan atau menetapkan nilai yang menunjukkan apakah tip pengajaran akan membatasi batas-batas akar xaml-nya.
public:
property bool ShouldConstrainToRootBounds { bool get(); void set(bool value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool ShouldConstrainToRootBounds();
void ShouldConstrainToRootBounds(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool ShouldConstrainToRootBounds();
void ShouldConstrainToRootBounds(bool value);
public bool ShouldConstrainToRootBounds { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool ShouldConstrainToRootBounds { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
var boolean = teachingTip.shouldConstrainToRootBounds;
teachingTip.shouldConstrainToRootBounds = boolean;
Public Property ShouldConstrainToRootBounds As Boolean
Nilai Properti
bool
- Atribut
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute
Keterangan
Jika tidak ada opsi penempatan yang akan memungkinkan tip pengajaran untuk sepenuhnya ditampilkan, tip pengajaran akan melakukan iterasi melalui siklus hidup peristiwanya untuk memaksa penutupan daripada menampilkan tanpa tombol tutup yang dapat diakses. Jika aplikasi membatalkan acara Penutupan, tip pengajaran dapat tetap terbuka tanpa tombol Tutup yang dapat diakses.
Berlaku untuk
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk