Share via


FlowDocument.Blocks Properti

Definisi

Mendapatkan elemen tingkat Block atas dari konten FlowDocument.

public:
 property System::Windows::Documents::BlockCollection ^ Blocks { System::Windows::Documents::BlockCollection ^ get(); };
public System.Windows.Documents.BlockCollection Blocks { get; }
member this.Blocks : System.Windows.Documents.BlockCollection
Public ReadOnly Property Blocks As BlockCollection

Nilai Properti

yang BlockCollection berisi Block elemen yang membentuk konten FlowDocument.

Keterangan

Gunakan yang BlockCollection dikembalikan oleh properti ini untuk menghitung atau memanipulasi konten FlowDocument.

Elemen anak tingkat atas yang FlowDocument terkandung dalam harus berasal dari Block. Elemen turunan tingkat atas yang valid meliputi yang berikut ini:

Berlaku untuk