PostbackPropertyAttribute
Namespace: Wisej.Base
Assembly: Wisej.Framework (3.5.0.0)
Allows the property to return its value to postback requests.
- C#
- VB.NET
public class PostbackPropertyAttribute : Attribute
Public Class PostbackPropertyAttribute
Inherits Attribute
Constructors
PostbackPropertyAttribute()
Initializes the PostbackPropertyAttribute attribute.
PostbackPropertyAttribute(allow)
Initializes the PostbackPropertyAttribute attribute.
| Name | Type | Description |
|---|---|---|
| allow | Boolean | Indicates whether the property is allowed or disallowed to return its value to postback requests. |
Properties
Allow
Boolean: Returns or sets whether the property is allows to return its value to postback requests.
Methods
IsPostbackProperty(property)
Returns true if the property allows postback requests.
| Parameter | Type | Description |
|---|---|---|
| property | PropertyDescriptor | Property to check. |
Returns: Boolean. True if the property allows postback requests.