//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//------------------------------------------------------------------------------
namespace System.Web.UI {
using System;
///
/// Specifies whether properties and events are presistable
/// in an HTML tag.
///
public enum PersistenceMode {
///
/// The property or event is persistable in the HTML tag as an attribute.
///
Attribute = 0,
///
/// The property or event is persistable within the HTML tag.
///
InnerProperty = 1,
///
/// The property or event is persistable within the HTML tag as a child. Only
/// a single property can be marked as InnerDefaultProperty.
///
InnerDefaultProperty = 2,
///
/// The property or event is persistable within the HTML tag as a child. Only
/// a single property can be marked as InnerDefaultProperty. Furthermode, this
/// persistence mode can only be applied to string properties.
///
EncodedInnerDefaultProperty = 3
}
}