ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









ParseChildrenAttribute

System.Web.UI (system.web.dll)sealed class

You can use this attribute to mark the class declaration for any
custom controls that you create. If you specify
True for the
ChildrenAsProperties property, the ASP.NET parser
will treat any sub-elements inside your control tag as object
properties. If you do not use this attribute or you specify
False, ASP.NET will assume that nested elements
should be added as child controls. In this case, you can still set
object properties by using the "object
walker" syntax, where properties are split by using
a dash (as in <MyControls MyObject-MyProperty="Value"
/>
).

public sealed class 

ParseChildrenAttribute : Attribute {
// Public Constructors
public

ParseChildrenAttribute ( );
public

ParseChildrenAttribute (bool

childrenAsProperties );
public

ParseChildrenAttribute (bool

childrenAsProperties , string

defaultProperty );
// Public Static Fields
public static readonly ParseChildrenAttribute

Default ; // =System.Web.UI.ParseChildrenAttribute
// Public Instance Properties
public bool

ChildrenAsProperties {set; get; }
public string

DefaultProperty {set; get; }
// Public Instance Methods
public override bool

Equals (object

obj ); // overrides Attribute
public override int

GetHashCode ( ); // overrides Attribute
public override bool

IsDefaultAttribute ( ); // overrides Attribute
}



Hierarchy


System.Object
System.Attribute
ParseChildrenAttribute

Valid On


Class


/ 873