Asp.net attributes collection

<?xml version="1.0" encoding="utf-8"?>
<root>
  <ContralNames>
    <Contral Name="@Page">
      <Attribute Name="Buffer">是否啟用http響應緩沖</Attribute>
      <Attribute Name="ClassName">指定請求頁將進行動態編譯的頁的類名</Attribute>
      <Attribute Name="AutoEventWoreup">指示頁的時間是否自動綁定,若是設置為True,則會方法名為"Page_事件名"的方法會自動執行</Attribute>
      <Attribute Name="CodeFile">指定指向頁引用的代碼隱藏文件的路徑</Attribute>
      <Attribute Name="Cutlture">指示頁的區域性設置.該屬性值必須是有效的區域性ID,注意,LCID和Cultrue屬性是相互排斥的,兩者只能使用一個..</Attribute>
      <Attribute Name="Description">提供該頁的文本說明.asp.net分析器會忽略該值</Attribute>
      <Attribute Name="EnableEventValidation">在回發方案中是否啟用事件驗證</Attribute>
      <Attribute Name="EnableSessionState">定義頁的會話狀態.如果啟用會話,則為True,如果啟用會話但不能進行更改則為ReadOnly,否則為false</Attribute>
      <Attribute Name="Inherites">定義供頁繼承的代碼隱藏類.它Codefile屬性一起使用</Attribute>
      <Attribute Name="Language">指定在對頁中的所有內聯呈現(&lt;% %&gt;和&lt;%=%&gt;)和代碼聲明塊進行編譯時使用的語言.只可以表示任何.netframework支持的語言,如C#</Attribute>
      <Attribute Name="MasterPageFile">母板頁的路徑,支持絕對路徑和相對路徑</Attribute>
      <Attribute Name="Src">指定包含鏈接到頁的源代碼文件的路徑</Attribute>
      <Attribute Name="StyleSheetTheme">定義主題標誌符,不覆蓋單獨控件的主題</Attribute>
      <Attribute Name="Theme">定義主題標誌符,會覆蓋單獨空間的主題</Attribute>
      <Attribute Name="Title">標題</Attribute>
      <Attribute Name="Trace">是否啟用跟蹤</Attribute>
    </Contral>
    <Contral Name="@Import">
      <Attribute Name="Namespace">導入的命名空間</Attribute>
    </Contral>
    <Contral Name="@OutputCache">
      <Attribute Name="Duration">設置頁或用戶空間進行緩存的時間(秒),這是必選的屬性</Attribute>
      <Attribute Name="Location">設置控制資源的輸出緩存HTTP響應的位置,屬性值是OutputCacheLocation的枚舉值之一,默認是Any(客戶端,代理server,server);Client(客戶端)對應于HttpCacheAbility.Private;
Downstream(代理和客戶端),None,Server,ServerAndClient</Attribute>
      <Attribute Name="CacheProfile">與該頁關聯的緩存設置的名稱.這是可選屬性,默認值是""</Attribute>
      <Attribute Name="NoStore">用戶空間輸出是否可以多個頁共享,默認是false
完整網頁緩存不支持此屬性</Attribute>
      <Attribute Name="SqlDependency">緩存與數據庫之間的對應關係,設置一組數據庫--表名稱對的字符串值,頁或控件的輸出緩存依賴于這些名稱時,多個名稱之間用分號隔開.需要特別注意,該屬性監視輸出緩存所領帶的數據庫的表,因此當更新表中的項時,使用基於表的輪詢時將從緩存中移除這些項</Attribute>
      <Attribute Name="VaryByCuston">設置自定義緩存要求的任意文本.如果屬性值是browser,則緩存將對流覽器名稱和主要版本信息的不同而異.如果是自定義字符串,則要在Globle.asmx文件中重寫GetVaryByCustomString方法</Attribute>
      <Attribute Name="VaryByHeader">設置分號分隔的HTTP標頭列表,用於使輸出緩存發生變化.將該屬性設為多鏢頭時,對於每個指定標頭組合,輸出緩存都包含一個不同版本的請求文檔</Attribute>
      <Attribute Name="VaryByparamr">分號分隔的字符串列表,用於使輸出緩存發生變化.與VaryByContral,必須選擇一個設置.它的值可以使none,*,任何有效的查詢字符或POST參數名稱.</Attribute>
      <Attribute Name="VaryByControl">一個分號分隔的字符串列表.用於更改用戶控件的輸出緩存.這些字符串代表用戶控件中聲明的ASP.NET服務器的ID屬性值</Attribute>
    </Contral>
    <Contral Name="@Implements">
      <Attribute Name="interface">實現的接口</Attribute>
    </Contral>
    <Contral Name="@Register">
      <Attribute Name="assembly">設置與tagprefix屬性關聯的命名控件所駐留的程序集.程序集名號不包括文件擴展名.如果將自定義控件的源代碼文件放置在應用程式的App_Code文件夾下,ASP.NET會在運行時動態編譯原文件,因此不必使用assembl屬性</Attribute>
      <Attribute Name="namespace">設置正在註冊的自定義控件的命名空間</Attribute>
      <Attribute Name="src">與tagperfix</Attribute>
      <Attribute Name="tagname">與類關聯的任意別名.此屬性只用於用戶控件</Attribute>
      <Attribute Name="tagperfix">提供對包含指令的文件中所使用的標記的命名空間的短引用</Attribute>
    </Contral>
    <Contral Name="@Control">
      <Attribute Name="概述">與@Page基本相似,在.aspx中包含@Page指令,而在.ascx中包含@Control,這個屬性只能用與用戶控件.只能定義一次,其屬性基本與@Page一致.不同的列出如下</Attribute>
      <Attribute Name="EnableViewState">設置是否跨控件請求維護視圖狀態</Attribute>
    </Contral>
    <Contral Name="object">
      <Attribute Name="class">指定要創建的.netframework類</Attribute>
      <Attribute Name="classid">使用組件的類標誌符要創建的COM組件</Attribute>
      <Attribute Name="id">id</Attribute>
      <Attribute Name="lateBinding">指示是否應對類型庫導入程序(Tlbmp.exe)處理過的COM組件使用後期綁定API</Attribute>
      <Attribute Name="progid">通過指定組件的編程標誌符來指定要創建的COM組件</Attribute>
      <Attribute Name="server">server</Attribute>
    </Contral>
    <Contral Name="TextBox">
      <Attribute Name="AutoPostBack">在按Enter和Tab鍵時,是否自動回發到服務器的操作</Attribute>
      <Attribute Name="CausesValidation">是否在回發發生時是否執行驗證</Attribute>
      <Attribute Name="TextMode">單行,多行,密碼</Attribute>
      <Attribute Name="Columns">以字符為單位的寬度</Attribute>
    </Contral>
    <Contral Name="Button">
      <Attribute Name="CauseValidation">單擊按鈕時是否執行驗證</Attribute>
      <Attribute Name="CommandName">按鈕被單擊時,該值指定一個命令名稱.</Attribute>
      <Attribute Name="CommandArgument">按鈕被單擊時,將該值傳遞給Command事件</Attribute>
      <Attribute Name="OnClientClick">引發某個Button控件的Click事件所執行的客戶端腳本</Attribute>
      <Attribute Name="PostBackUrl">單擊按鈕從當前頁發送到網頁的URL</Attribute>
    </Contral>
    <Contral Name="ImageButton">
      <Attribute Name="AlternateText">圖像無法顯示的替補</Attribute>
      <Attribute Name="CauseValidation">~</Attribute>
      <Attribute Name="ImageUrl">圖像的位置</Attribute>
      <Attribute Name="PostBackUrl">~</Attribute>
    </Contral>
    <Contral Name="HyperLink">
      <Attribute Name="Text">~</Attribute>
      <Attribute Name="ImageUrl">~</Attribute>
      <Attribute Name="NacigeteUrl">~v</Attribute>
      <Attribute Name="Target">顯示鏈接到Web頁內容的目標窗口或框架,一般以下劃綫開頭</Attribute>
    </Contral>
    <Contral Name="LinkButton">
      <Attribute Name="概述">超鏈接按鈕</Attribute>
      <Attribute Name="Text">~</Attribute>
      <Attribute Name="CauseValidation">~</Attribute>
      <Attribute Name="PostBackUrl">~</Attribute>
    </Contral>
    <Contral Name="ListBox">
      <Attribute Name="Items">get~</Attribute>
      <Attribute Name="SelectionMode">選擇格式</Attribute>
      <Attribute Name="SelectedIndex">選定項的最低序號索引</Attribute>
      <Attribute Name="SelectedItem">get索引最小的被選中的項</Attribute>
      <Attribute Name="SelectedValue">get控件選定項的值</Attribute>
      <Attribute Name="Rows">~</Attribute>
      <Attribute Name="DataSource">~</Attribute>
    </Contral>
    <Contral Name="DropDownList">
      <Attribute Name="概述">類似listbox</Attribute>
    </Contral>
    <Contral Name="Image">
      <Attribute Name="AlternateText">~</Attribute>
      <Attribute Name="ImageAlign">~</Attribute>
      <Attribute Name="ImageUrl">~</Attribute>
    </Contral>
    <Contral Name="FileUpload">
      <Attribute Name="FileBytes">獲取上傳文件的字節數組</Attribute>
      <Attribute Name="FileContent">獲取上傳文件的Stream對象</Attribute>
      <Attribute Name="FileName">獲取上傳文件在客戶端的文件名稱</Attribute>
      <Attribute Name="HasFile">是否已包含一個文件</Attribute>
      <Attribute Name="PostedFile">獲取一個與上傳文件相關的HttpPostedFile對象,使用該對象可以獲取上傳文件的相關屬性;有Contentlength:上傳文件的大小;ContentType:文件類型;FileName:獲取文件的完整路徑(區別于FileUpload的FileName屬性)</Attribute>
      <Attribute Name="SaveAs()">更新文件</Attribute>
    </Contral>
    <Contral Name="dsfsdf" />
    <Contral Name="GridView">
      <Attribute Name="ID">~</Attribute>
      <Attribute Name="Allowpaging">是否啟動分頁</Attribute>
      <Attribute Name="Allowsorting">是否啟用排序</Attribute>
      <Attribute Name="AutoGenerateColumns">是否為數據源中的每個字段自動創建綁定字段</Attribute>
      <Attribute Name="DataKeyNames">該數組包含了顯示在GridView控件中的項的主鍵字段的名稱</Attribute>
      <Attribute Name="DataSource">綁定的對象,數據綁定控件從該控件中檢索其數據項列表</Attribute>
      <Attribute Name="Datakeys">獲取一個DataKey對象集合,這些對象表示GridView控件中的每一行的數據鍵值</Attribute>
      <Attribute Name="DataSourceID">綁定的對象ID,數據綁定控件從該控件中檢索其數據項列表</Attribute>
      <Attribute Name="Enabled">是否啟用Web服務器控件</Attribute>
      <Attribute Name="HorizontalAlign">水平對齊方式</Attribute>
      <Attribute Name="Page">獲取對包含服務器控件的Page實例的引用</Attribute>
      <Attribute Name="PageCount">獲取在GridView控件中顯示數據源記錄所需的頁數</Attribute>
      <Attribute Name="PageIndex">當前頁的索引</Attribute>
      <Attribute Name="PageSize">GridView控件在每頁上所顯示的記錄的數目</Attribute>
      <Attribute Name="SortDirection">獲取正在排序的列的排序方向 Ascending,Descending</Attribute>
      <Attribute Name="SortExperssion">獲取與正在排序的列關聯的排序表達式</Attribute>
      <Attribute Name="DataBind()">數據源綁定</Attribute>
      <Attribute Name="DeleteRow()">從數據源中刪除位於指定索引位置的記錄</Attribute>
      <Attribute Name="FindControl()">在當前的命名容器中搜索指定的服務器控件</Attribute>
      <Attribute Name="GetType()">獲取當前實例的Type</Attribute>
      <Attribute Name="Sort()">根據指定的排序表達式和方向對GridView控件進行排序</Attribute>
      <Attribute Name="UpdateRow()">使用行的字段值更新位於指定索引位置的記錄</Attribute>
    </Contral>
    <Contral Name="TreeView">
      <Attribute Name="AutoGenetateDataBinding">是否自動綁定生成樹節點</Attribute>
      <Attribute Name="CheckedNodes">獲取被用戶選中的節點集合</Attribute>
      <Attribute Name="CollapseImageToolTip">可折叠節點的指示符所顯示圖像的提示文字</Attribute>
      <Attribute Name="CollapseImageUrl">節點在折叠狀態下,所顯示圖版的Url地址</Attribute>
      <Attribute Name="DataSource">綁定到TreeView的數據源對象</Attribute>
      <Attribute Name="DataSourceID">~</Attribute>
      <Attribute Name="EnableClientScript">是否呈現客戶端腳本以處理展開和折叠事件</Attribute>
      <Attribute Name="ExpandDepth">默認狀態下控件的展開層次數,默認值是-1,表示將所有節點都展開</Attribute>
      <Attribute Name="ExpandImageToolTip">可展開節點的指示符所顯示圖像的提示文字</Attribute>
      <Attribute Name="ImageSet">TreeView空間的圖像組,是TreeViewImageSet的枚舉值之一</Attribute>
      <Attribute Name="LineImagesFolder">用於連接子節點和父節點的線條圖像的文件夾路徑</Attribute>
      <Attribute Name="MaxDataBindDepth">綁定到控件的最大樹級別數</Attribute>
      <Attribute Name="NodeIndent">子節點的縮進量,單位是像素</Attribute>
      <Attribute Name="Nodes">TreeNode對象集合.可通過特定方法,對樹形結構中節點進行CRUD操作</Attribute>
      <Attribute Name="NodeWrap">空間不足時節點中的文本是否換行</Attribute>
      <Attribute Name="NoExpandImageUrl">不展開節點的指示符的自定義圖像的URL</Attribute>
      <Attribute Name="PathSeparator">用於分隔由ValuePath屬性指定的節點值的字符,為防止衝突和得到錯誤的數據,節點的Value屬性中不應包含分隔符字符</Attribute>
      <Attribute Name="PopulateNodesFromClient">是否啟用由客戶端構建節點的功能</Attribute>
      <Attribute Name="SelectedNode">獲取TreeView中選定節點的TreeNode對象</Attribute>
      <Attribute Name="SelectedValue">獲取選定節點的值</Attribute>
      <Attribute Name="ShowCheckBoxes">那些節點類型將在TreeView控件中顯示複選框</Attribute>
      <Attribute Name="ShowExpandCollapse">是否顯示展開節點指示符</Attribute>
      <Attribute Name="ShowLInes">是否顯示連接子節點和父節點的線條</Attribute>
      <Attribute Name="Target">單擊節點時網頁內容的目標窗口或框架名字</Attribute>
    </Contral>
    <Contral Name="Menu">
      <Attribute Name="DataSource">~</Attribute>
      <Attribute Name="DisappearAfter">鼠標指針不在置於菜單上后顯示動態菜單的持續時間,默認是500ms,該值設置為-1時,菜單不會自動消失,只有點擊菜單外空白區域才會消失</Attribute>
      <Attribute Name="DynamicHorizontalOffset">動態菜單相對于其父菜單項的水平移動像素數</Attribute>
      <Attribute Name="DynamicPopOutImageUrl">自定義圖像的Url,如果動態菜單項包含子菜單,該圖像則顯示在動態菜單項中</Attribute>
      <Attribute Name="Items">獲取MenuItemCollection對象,該對象包含Menu控件中的所有菜單項</Attribute>
      <Attribute Name="ItemWrap">該值指示菜單項的文本是否換行</Attribute>
      <Attribute Name="MaximumDynamicDisplayLevels">動態菜單的菜單呈現級數</Attribute>
      <Attribute Name="Orientation">Menu控件的呈現方向</Attribute>
      <Attribute Name="SelectedItem">獲取選定的菜單項</Attribute>
      <Attribute Name="SelectedValue">獲取選定的菜單項的值</Attribute>
    </Contral>
    <Contral Name="HttpCachePolicy">
      <Attribute Name="SetAllowResponseInBrowserHistory">當allow參數為true時,將使響應在客戶端流覽器"歷史記錄"緩存中可用,而不論服務器上所做的HttpCacheability設置的是什麽</Attribute>
      <Attribute Name="SetCacheability">設置Cached-Control Http標頭.控制在網絡上緩存文檔的方式,可設的枚舉值:HttpCacheability的NoCache,Private,Server.ServerAndNoCache(等效于Server),Public,
ServerAndPrivate</Attribute>
      <Attribute Name="SetExpires">設置緩存過期的絕對時間</Attribute>
      <Attribute Name="SetLastModified">用於設置頁面的Last-Modified Http標頭.它表示頁面上次修改時間,緩存將依靠它來進行</Attribute>
      <Attribute Name="SetMaxAge">基於指定的時間跨度設置Cache-Control</Attribute>
      <Attribute Name="SetNoServerCaching">停止當前響應的所有員服務器緩存</Attribute>
      <Attribute Name="SetOmitVaryStar">指定在按參數進行區分時,響應是否應該包含vary</Attribute>
      <Attribute Name="SetSlidingExpiration">將緩存過期時間從絕對時間設置為可調時間</Attribute>
      <Attribute Name="SetvaryByCustom">指定一個自定義文本字符串,以此區別緩存的輸出相應</Attribute>
    </Contral>
    <Contral Name="Cache">
      <Attribute Name="Count">獲取存儲在緩存中的項數</Attribute>
      <Attribute Name="EffectivePrivateBytesLimit">獲取可用於緩存中的千字節數</Attribute>
      <Attribute Name="Item">指定鍵處的緩存項</Attribute>
    </Contral>
  </ContralNames>
  <InnerObject>
    <Object Name="Response">
      <Attibute Name="Buffer">獲取/設置,該值指示是否緩衝輸出,並在完成整個響應后將其發送.</Attibute>
      <Attribute Name="Cache">獲取Web頁的緩存策略,如過期時間,保密性,變化子句等</Attribute>
      <Attribute Name="Charset">Http的輸出字符編碼</Attribute>
      <Attribute Name="Expires">在流覽器上緩存的頁過期之前的分鐘數</Attribute>
      <Attribute Name="Cookies">獲取當前請求的Cookie集合</Attribute>
      <Attribute Name="IsClientConnected">傳回客戶端是否仍然和Server連接</Attribute>
      <Attribute Name="SuppressContent">設定是否將HTTP的內容發送至客戶端流覽器,true為不發送</Attribute>
      <Attribute Name="AddHeader()">將一個HTTP頭添加到輸出流</Attribute>
      <Attribute Name="AppendToLog()">將自定義日誌信息添加到IIS日誌文件</Attribute>
      <Attribute Name="Clear()">將緩衝區的內容清除</Attribute>
      <Attribute Name="End()">將目前緩衝區的所有內容發送到客戶端然後關閉</Attribute>
      <Attribute Name="Flush()">將緩衝區的所有數據發送到客戶端</Attribute>
      <Attribute Name="Redirect()">重定向</Attribute>
      <Attribute Name="Write()">輸數據</Attribute>
      <Attribute Name="WriteFile()">寫文件,eg:
Response.WriteFile(Server.MapPath(@"TextFile.txt"));
若文件不存在,將產生未找到文件的異常</Attribute>
    </Object>
    <Object Name="Request">
      <Attribute Name="ApplicationPath">獲取服務器上ASP.NET應用程序虛擬應用程序的根目錄路徑</Attribute>
      <Attribute Name="Browser">正在請求的客戶端流覽器的功能信息</Attribute>
      <Attribute Name="ContentLength">客戶端發送的內容的長度(/字節)</Attribute>
      <Attribute Name="Cookies">獲取客戶端發送的Cookie集合</Attribute>
      <Attribute Name="FilePath">獲取當前請求的虛擬路經</Attribute>
      <Attribute Name="Files">獲取采用多部份MIME格式的由客戶端上傳的文件集合</Attribute>
      <Attribute Name="Form">獲取窗體的變量集合</Attribute>
      <Attribute Name="Item">從Cookies,Form,QueryString或ServerVariables集合中獲取指定的對象</Attribute>
      <Attribute Name="Params">獲取QueryString,Form,ServerVariables和Cookies項的組合集合</Attribute>
      <Attribute Name="QueryString">獲取HTTP查詢字符串變量集合</Attribute>
      <Attribute Name="UserHostAddress">獲取遠程客戶端IP主機地址</Attribute>
      <Attribute Name="UserHostName">獲取遠程客戶端DNS名稱</Attribute>
      <Attribute Name="MapPath()">為當親請求將請求的URL中的虛擬路徑映射到服務器上的物理路徑</Attribute>
      <Attribute Name="SaveAs">將HTTP請求保存到磁盤</Attribute>
    </Object>
    <Object Name="Application">
      <Attribute Name="Contents">用於訪問應用程序狀態集合中的對象名</Attribute>
      <Attribute Name="StaticObjects">確定某對象指定屬性的值或遍歷集合,并檢索所有靜態對象的屬性</Attribute>
      <Attribute Name="AllKeys">返回全部Application對象變量名到一個字符串數組中</Attribute>
      <Attribute Name="Counts">獲取Application對象變量的數量</Attribute>
      <Attribute Name="Item">允許使用索引或Application變量名稱傳回內容值</Attribute>
      <Attribute Name="Add()">新增一個Application對象變量</Attribute>
      <Attribute Name="Clear()">清除全部Application對象名稱</Attribute>
      <Attribute Name="Lock()">鎖定全部Application對象變量</Attribute>
      <Attribute Name="Set()">使用變量名稱更新一個Application對象變量的內容</Attribute>
      <Attribute Name="UnLock()">解除鎖定的Application對象變量</Attribute>
    </Object>
    <Object Name="Session">
      <Attribute Name="Contents">用於確定指定會話箱的值或遍歷Session對象的集合</Attribute>
      <Attribute Name="StaticObjects">確定某對象指定屬性的值或遍歷集合,并檢索所有靜態對象的所有屬性</Attribute>
      <Attribute Name="TimeOut">傳回或設定Session對象變量的有效時間,當使用者 超過有效時間沒有動作,Session對象就會失效,默認值為20分鐘</Attribute>
      <Attribute Name="Abandon">此方法結束當前會話,并清除會話中的所有信息.如果用戶隨後訪問頁面,可以為他創建新會話("重新建立"非常有用,這樣用戶就可以得到新的會話)</Attribute>
      <Attribute Name="Clear">此方法清除全部Session變量但不會結束會話</Attribute>
    </Object>
    <Object Name="Cookie">
      <Attribute Name="Clear">清除所有的Cookie</Attribute>
      <Attribute Name="Expires">設定Cookie變量的有效時間,默認是1000分鐘</Attribute>
      <Attribute Name="Name">取得Cookie變量的名稱</Attribute>
      <Attribute Name="Value">獲取或設置Cookie變量內容值</Attribute>
      <Attribute Name="Path">獲取或設置Cookie使用與URL</Attribute>
      <Attribute Name="Equals()">確定指定Cookie是否等於當前的Cookie</Attribute>
      <Attribute Name="ToString()">~</Attribute>
    </Object>
    <Object Name="Server">
      <Attribute Name="MachineName">獲取服務器的計算器名稱</Attribute>
      <Attribute Name="ScriptTimeout">獲取和設置請求超時值(秒)</Attribute>
      <Attribute Name="Excute()">在當前請求的上下文中執行指定資源的處理程序,然後將控制返回給該處理程序</Attribute>
      <Attribute Name="HtmlDecode()">對要在流覽器中顯示的字符串進行解碼</Attribute>
      <Attribute Name="HtmlEncode()">~編碼</Attribute>
      <Attribute Name="MapPath()">返回與Web服務器上的制定虛擬路勁相對應的物理文件路徑</Attribute>
      <Attribute Name="UrlDecode()">對字符串進行解碼,該字符串爲了進行HTTP傳輸而進行編碼並在URL中發送到服務器</Attribute>
      <Attribute Name="UrlEncode()">編碼字符串,以便在URL從Web服務器到客戶端進行可靠的HTTP傳輸</Attribute>
      <Attribute Name="transfer()">終止當前頁的執行,并為當前請求開始執行新頁</Attribute>
    </Object>
  </InnerObject>
  <Validator>
    <Contral Name="RequiredFieldValidator">
      <Attribute Name="ID">~</Attribute>
      <Attribute Name="ControlToValidate">便是要進行驗證的控件ID,此屬性必須設置為輸入控件ID.沒設置輝喲異常,兩控件必須在同一個容器中</Attribute>
      <Attribute Name="ErrorMessage">~</Attribute>
      <Attribute Name="IsValid">控件的驗證數據是否有效,默認是True</Attribute>
      <Attribute Name="Display">設置錯誤信息的顯示方式</Attribute>
      <Attribute Name="Text">若Display為Static,不出錯時,顯示該文本</Attribute>
    </Contral>
    <Contral Name="CompareValidator">
      <Attribute Name="概述">用來比較,還可以來限定是否是數字,日期,字符串等</Attribute>
      <Attribute Name="ID">~</Attribute>
      <Attribute Name="ControlToCompare">獲取或設置用戶比較的控件的ID,默認是空字符串""</Attribute>
      <Attribute Name="ControlToValidate">~</Attribute>
      <Attribute Name="ErrorMessage">~</Attribute>
      <Attribute Name="IsValid">~</Attribute>
      <Attribute Name="Operator">比較類型,默認是equal</Attribute>
      <Attribute Name="Display">設置錯誤新的顯示方式</Attribute>
      <Attribute Name="Text">~</Attribute>
      <Attribute Name="Type">獲取或設置比較兩個值的數據類型,默認是string</Attribute>
      <Attribute Name="VlueToCompare">獲取或設置要比較的值</Attribute>
    </Contral>
    <Contral Name="RangeValidator">
      <Attribute Name="ID">~</Attribute>
      <Attribute Name="ControlToValidate">~</Attribute>
      <Attribute Name="ErroMessage">~</Attribute>
      <Attribute Name="IsValid">~</Attribute>
      <Attribute Name="Display">~</Attribute>
      <Attribute Name="MaximumValue">需要驗證的最大值,默認是字符串</Attribute>
      <Attribute Name="MinimumValue">~</Attribute>
      <Attribute Name="Text">~</Attribute>
      <Attribute Name="Type">~</Attribute>
    </Contral>
    <Contral Name="RegularExpressionValidator">
      <Attribute Name="ID">~</Attribute>
      <Attribute Name="ControlToValue">~</Attribute>
      <Attribute Name="ErrorMessage">~</Attribute>
      <Attribute Name="IsValid">~</Attribute>
      <Attribute Name="Display">~</Attribute>
      <Attribute Name="Text">~</Attribute>
      <Attribute Name="ValidationException">獲取或設置被指定為驗證條件的正則表達式,默認是""</Attribute>
    </Contral>
    <Contral Name="regix">
      <Attribute Name="\w">任何字符(0~9,a~Z)</Attribute>
      <Attribute Name="\W">任何一個非空白字符(0~9,a~Z)</Attribute>
      <Attribute Name="\s">匹配任何一個非空白符</Attribute>
      <Attribute Name="\S">任何非單詞字符</Attribute>
      <Attribute Name="\d">任意數字</Attribute>
      <Attribute Name="\D">任意非數字</Attribute>
      <Attribute Name="[\b]">退格鍵字母</Attribute>
      <Attribute Name="{n,m}">匹配前面表達式n~m次</Attribute>
      <Attribute Name="{n,}">至少n次匹配前面表達式</Attribute>
      <Attribute Name="{n}">~</Attribute>
      <Attribute Name="?">0或1</Attribute>
      <Attribute Name="+">&gt;=1</Attribute>
      <Attribute Name="*">任意次數</Attribute>
      <Attribute Name="|">~</Attribute>
      <Attribute Name="(...)">在單元中組合項目</Attribute>
      <Attribute Name="^">匹配字符串的開頭</Attribute>
      <Attribute Name="$">匹配字符串的結尾</Attribute>
      <Attribute Name="\b">匹配字符邊界</Attribute>
      <Attribute Name="\B">匹配字符串某個位置</Attribute>
      <Attribute Name="[...]">匹配其中任意一個字符</Attribute>
      <Attribute Name="[^...]">匹配不在其中的任意一個字符</Attribute>
    </Contral>
    <Contral Name="ValidationSummary">
      <Attribute Name="HeaderText">控件匯總信息</Attribute>
      <Attribute Name="DisplayMode">設置錯誤信息的顯示方式</Attribute>
      <Attribute Name="ShowMessageBox">是否以彈窗的方式顯示滅個被驗證控件的錯誤信息</Attribute>
      <Attribute Name="ShowSummary">是否使用錯誤匯總信息</Attribute>
      <Attribute Name="EnableClientScript">是否使用客戶端驗證,系統默認是True</Attribute>
      <Attribute Name="Validate">執行驗證并更新IsValid屬性</Attribute>
    </Contral>
  </Validator>
</root>

转载于:https://www.cnblogs.com/fanglorry/p/4475431.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值