CustomStyleFileName

MainWeb.CustomStyleFileName property

الحصول على اسم ملف النمط المخصص أو تعيينه.

public string CustomStyleFileName { get; set; }

ملاحظات

ملف النمط المخصص هو ملف XML. عند تعيين اسم الملف ، سيتم تحميل الملف على الفور. سماع هو محتوى “النمط القياسي المحدد مسبقًا” ————- —————————————— <Aspose.Cells.GridWeb. ViewerStyleTemplate runat = “server” HeaderBarWidth = “30pt” ScrollBarBaseColor = "" FrameTableStyle-BorderStyle = “Solid” FrameTableStyle-LeftBorderStyle-BorderWidth = " FrameTableStyle-LeftBorderStyle =" -BorderColor = "" FrameTableStyle-BorderWidth = “1px” FrameTableStyle-CellSpacing = “0” FrameTableStyle-BorderColor = “رمادي” FrameTableStyle-CellPadding = “0” FrameTableStyle-TopBorderStyle-Border FrameWidth = " FrameTableStyle-BottomBorderStyle-BorderWidth = "" FrameTableStyle-BottomBorderStyle-BorderColor = "" HeaderBarStyle-LeftBorderStyle-BorderStyle = “Solid” HeaderBarStyle-LeftBorderStyle-Bord erWidth = “1px” HeaderBarStyle-LeftBorderStyle-BorderColor = “أبيض” HeaderBarStyle-VerticalAlign = “الأوسط” HeaderBarStyle-RightBorderStyle-BorderStyle = “Solid” HeaderBarStyle-RightBorderStyle-1 " HeaderBarStyle-BorderWidth = “1px” HeaderBarStyle-Font-Size = “10pt” HeaderBarStyle-BorderColor = “Gray” HeaderBarStyle-BorderStyle = “Solid” HeaderBarStyle-HorizontalAlign = “Center” HeaderBartyle-HorizontalAlign = “مركز” HeaderBartyle " = “Solid” HeaderBarStyle-TopBorderStyle-BorderWidth = “1px” HeaderBarStyle-TopBorderStyle-BorderColor = “أبيض” HeaderBarStyle-BackColor = “# E0E0E0” HeaderBarStyle-BottomBorderStyle-“BorderStyle-1px =” HeaderBarStyle-BottomBorderStyle-BorderColor = “رمادي” ViewTableStyle-LeftBorderStyle-BorderWidth = "" ViewTableStyle-LeftBorderStyle-BorderColor = "" ViewTableStyle-LayoutFixed = “ثابت” ViewTableStyle le-BorderWidth = "" ViewTableStyle-RightBorderStyle-BorderColor = "" ViewTableStyle-BorderWidth = “0px” ViewTableStyle-CellSpacing = “0” ViewTableStyle-CellPadding = “0” ViewTableStyle-TopBorderSidtyle = " "" ViewTableStyle-BottomBorderStyle-BorderWidth = “ViewTableStyle-BottomBorderStyle-BorderColor =” " BottomTableStyle-LeftBorderStyle-BorderWidth =" “BottomTableStyle-LeftBorderStyle-” BorderColorColor " BottomTableStyle-RightBorderStyle-BorderColor = "" BottomTableStyle-BorderWidth = “0px” BottomTableStyle-CellSpacing = “0” BottomTableStyle-CellPadding = “1” BottomTableStyle-TopBorderSomTomTable = " -TopBorderStyle-BorderColor = “رمادي” BottomTableStyle-BottomBorderStyle-BorderWidth = "" BottomTableStyle-BottomBorderStyle-BorderColor = "" HeaderBarHeight = “15pt” ActiveTabSt yle-LeftBorderStyle-BorderWidth = "" ActiveTabStyle-LeftBorderStyle-BorderColor = "" ActiveTabStyle-RightBorderStyle-BorderWidth = "" ActiveTabStyle-RightBorderStyle-BorderColor = "" ActiveTabSptle-Lengthty حجم الخط = “10pt” ActiveTabStyle-BorderColor = “رمادي” ActiveTabStyle-ForeColor = “أسود” ActiveTabStyle-TopBorderStyle-BorderWidth = " ActiveTabStyle-TopBorderStyle-BorderColor =" ActiveTabStyle-BorderColor = “ActiveTabStyle-BorderColor =” ="" ActiveTabStyle-BottomBorderStyle-BorderColor="" HeaderBarTableStyle-LeftBorderStyle-BorderWidth="" HeaderBarTableStyle-LeftBorderStyle-BorderColor="" HeaderBarTableStyle-LayoutFixed=“Fixed” HeaderBarTableStyle-RightBorderStyle-BorderWidth="" HeaderBarTableStyle-RightBorderStyle-BorderColor= "" HeaderBarTableStyle-BorderWidth = “0px” HeaderBarTableStyle-CellSpacing = “0” HeaderBarTableStyle-BorderCollapse = “منفصل” HeaderBarTableStyle-CellPadding = “0” H eaderbartablestyle-topborderstyle-borderwidth = "" headerbartablestyle-topborderstyle-bordercolor = "" headerbartablestyle-bottomborderstyle-borderwidth = "" -RightBorderStyle-BorderWidth = " TabStyle-RightBorderStyle-BorderColor =" “TabStyle-Height =” 15pt “TabStyle-BorderWidth =” 1px “TabStyle-Font-Size =” 10pt “TabStyle-BorderColor =” Gray “TabSty “أسود” TabStyle-TopBorderStyle-BorderWidth = "” TabStyle-TopBorderStyle-BorderColor = "" TabStyle-BackColor = “# E0E0E0” TabStyle-BottomBorderStyle-BorderWidth = “TabStyle-BottomBorder000 </Aspose.Cells.GridWeb.ViewerStyleTemplate>

أمثلة

[C#]
	GridWeb1.CustomStyleFileName = "c:\\style\\mystyle.xml";

[Visual Basic]
	GridWeb1.CustomStyleFileName = "c:\\style\\mystyle.xml"

أنظر أيضا