ค้นหาเว็บไซต์

องค์ประกอบ ExpressionBinding สำหรับ CustomItem สำหรับ CustomControl สำหรับมุมมอง


กำหนดข้อมูลที่จะแสดงโดยตัวควบคุม องค์ประกอบนี้ใช้เมื่อกำหนดมุมมองการควบคุมแบบกำหนดเอง

สคีมา

  • องค์ประกอบการกำหนดค่า
  • องค์ประกอบ ViewDefinitions
  • ดูองค์ประกอบ
  • องค์ประกอบการควบคุมแบบกำหนดเอง
  • องค์ประกอบ CustomEntries
  • องค์ประกอบรายการแบบกำหนดเอง
  • องค์ประกอบ CustomItem
  • องค์ประกอบ ExpressionBinding

ไวยากรณ์

<ExpressionBinding>
  <CustomControl>...</CustomControl>
  <CustomControlName>NameofCommonCustomControl</CustomControlName>
  <EnumerateCollection/>
  <ItemSelectionCondition>...</ItemSelectionCondition>
  <PropertyName>Nameof.NetTypeProperty</PropertyName>
  <ScriptBlock>ScriptToEvaluate</ScriptBlock>
</ExpressionBinding>

คุณสมบัติและองค์ประกอบ

ส่วนต่อไปนี้จะอธิบายแอตทริบิวต์ องค์ประกอบลูก และองค์ประกอบหลักขององค์ประกอบ ExpressionBinding

คุณสมบัติ

ไม่มี.

องค์ประกอบเด็ก

CustomControl Element

องค์ประกอบเสริม

กำหนดการควบคุมที่ใช้โดยการควบคุมนี้

CustomControlName Element for ExpressionBinding for CustomControl for View

องค์ประกอบเสริม

ระบุชื่อของการควบคุมทั่วไปหรือการควบคุมมุมมอง

EnumerateCollection Element for ExpressionBinding for CustomControl for View

องค์ประกอบเสริม

ระบุว่ามีการแสดงองค์ประกอบของคอลเลกชัน

ItemSelectionCondition Element for ExpressionBinding for CustomControl for View

องค์ประกอบเสริม

กำหนดเงื่อนไขที่ต้องมีสำหรับการควบคุมนี้ที่จะใช้

PropertyName Element for ExpressionBinding for CustomControl for View

องค์ประกอบเสริม

ระบุคุณสมบัติ .NET ที่มีค่าถูกแสดงโดยตัวควบคุม

ScriptBlock Element for ExpressionBinding for CustomCustomControl for View

องค์ประกอบเสริม

ระบุสคริปต์ที่มีค่าแสดงโดยตัวควบคุม

องค์ประกอบผู้ปกครอง

CustomItem Element for CustomEntry for CustomControl for View

กำหนดข้อมูลที่จะแสดงโดยมุมมองการควบคุมแบบกำหนดเองและวิธีการแสดงข้อมูล

หมายเหตุ

ดูเพิ่มเติม

องค์ประกอบ CustomControlName สำหรับ ExpressionBinding สำหรับ CustomControl สำหรับ View

องค์ประกอบ EnumerateCollection สำหรับ ExpressionBinding สำหรับ CustomControl สำหรับ View

องค์ประกอบ ItemSelectionCondition สำหรับ ExpressionBinding สำหรับ CustomControl สำหรับ View

องค์ประกอบ PropertyName สำหรับ ExpressionBinding สำหรับ CustomControl สำหรับ View

องค์ประกอบ ScriptBlock สำหรับ ExpressionBinding สำหรับ CustomControl สำหรับ View

องค์ประกอบ CustomItem สำหรับ CustomEntry สำหรับ CustomControl สำหรับมุมมอง

การเขียนไฟล์การจัดรูปแบบ PowerShell

บทความที่เกี่ยวข้อง