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-RightBorderStyle-BorderWidth="" FrameRightableStyle -BorderColor="" FrameTableStyle-BorderWidth=“1px” FrameTableStyle-CellSpacing=“0” FrameTableStyle-BorderColor=“Gray” FrameTableStyle-CellPadding=“0” FrameTableStyle-TopBorderStyle-BorderWidth="" FrameTableStyle-TopBorderStyle-BorderColor="" FrameTableStyle-BottomBorderStyle-BorderWidth="" FrameTableStyle-BottomBorderStyle-BorderColor="" HeaderBarStyle-LeftBorderStyle-BorderStyle=“Solid” HeaderBarStyle-LeftBorderStyle-Bord erWidth=“1px” HeaderBarStyle-LeftBorderStyle-BorderColor=“White” HeaderBarStyle-VerticalAlign=“Middle” HeaderBarStyle-RightBorderStyle-BorderStyle=“Solid” HeaderBarStyle-RightBorderStyle-BorderWidth=“1px” =“HeaderBarStyle-RightBorder HeaderBarStyle-BorderWidth=“1px” HeaderBarStyle-Font-Size=“10pt” HeaderBarStyle-BorderColor=“Gray” HeaderBarStyle-BorderStyle=“Solid” HeaderBarStyle-HorizontalAlign=“Center” HeaderBarStyle-ForeColor=“Black” HeaderBarStyle-TopBorderStyle-BorderStyle =“Твердый” HeaderBarStyle-TopBorderStyle-BorderWidth=“1px” HeaderBarStyle-TopBorderStyle-BorderColor=“Белый” HeaderBarStyle-BackColor="#E0E0E0” HeaderBarStyle-BottomBorderStyle-BorderColor=“Gray” ViewTableStyle-LeftBorderStyle-BorderWidth="" ViewTableStyle-LeftBorderStyle-BorderColor="" ViewTableStyle-LayoutFixed=“Fixed” ViewTableStyle-RightBorderSty le-BorderWidth="" ViewTableStyle-RightBorderStyle-BorderColor="" ViewTableStyle-BorderWidth=“0px” ViewTableStyle-CellSpacing=“0” ViewTableStyle-CellPadding=“0” ViewTableStyle-TopBorderStyle-BorderWidth="" ViewTableStyle-TopBorderStyle-BorderColor= "" ViewTableStyle-BottomBorderStyle-BorderWidth="" ViewTableStyle-BottomBorderStyle-BorderColor="" BottomTableStyle-LeftBorderStyle-BorderWidth="" BottomTableStyle-LeftBorderStyle-BorderColor="" BottomTableStyle-LayoutFixed=““FixedorderWidthBorderStyle-RightBorderStyle=”” BottomTableStyle-RightBorderStyle-BorderColor="" BottomTableStyle-BorderWidth=“0px” BottomTableStyle-CellSpacing=“0” BottomTableStyle-CellPadding=“1” BottomTableStyle-TopBorderStyle-BorderStyle=“Solid” BottomTablePxStyleStyle-TopBorder -TopBorderStyle-BorderColor=“Gray” BottomTableStyle-BottomBorderStyle-BorderWidth="" BottomTableStyle-BottomBorderStyle-BorderColor="" HeaderBarHeight=“15pt” ActiveTabSt yle-LeftBorderStyle-BorderWidth="" ActiveTabStyle-LeftBorderStyle-BorderColor="" ActiveTabStyle-RightBorderStyle-BorderWidth="" ActiveTabStyle-RightBorderStyle-BorderColor="" ActiveTabStyle-Height=“15pt” ActiveTabStyle-BorderWidth=“1px” Font-Size=“10pt” ActiveTabStyle-BorderColor=“Gray” ActiveTabStyle-ForeColor=“Black” ActiveTabStyle-TopBorderStyle-BorderWidth="" ActiveTabStyle-TopBorderStyle-BorderColor="" ActiveTabStyle-BackColor=“White” ActiveTabStyle-BottomBorderStyle-BorderWidth = “ActiveTabStyle-BottomborderStyle-BorderColor =” “_ x000d_ HeaderBartablestyle-LeftbordsTyle-borderwidth =” “HeaderBartablestyle-LeftbordsTyle-BorderColor =” HeaderBartablestyle-layoutfixed = “Фиксированный” headerbartablestyrestyrestyrylyle-layoutfixed = “fixed” headerbartyrestyrestyrylyrylyle-layoutfixed = “fired” headerbartyrestyrestyrestyle-lay-layoutfixed = “fixed” "" HeaderBarTableStyle-BorderWidth=“0px” HeaderBarTableStyle-CellSpacing=“0” HeaderBarTableStyle-BorderCollapse=“Separate” HeaderBarTableStyle-CellPadding=“0” H eaderBarTableStyle-TopBorderStyle-BorderWidth="" HeaderBarTableStyle-TopBorderStyle-BorderColor="" HeaderBarTableStyle-BottomBorderStyle-BorderWidth="" HeaderBarTableStyle-BottomBorderStyle-BorderColor="" TabStyle-LeftBorderStyleLeftBorderStyle-BorderWidth="" TabStyle-LeftBorderStyleLeftBorderStyle-BorderWidth="" -RightBorderStyle-BorderWidth="" TabStyle-RightBorderStyle-BorderColor="" TabStyle-Height=“15pt” TabStyle-BorderWidth=“1px” TabStyle-Font-Size=“10pt” TabStyle-BorderColor=“Gray” TabStyle-ForeColor= “Черный” TabStyle-TopBorderStyle-BorderWidth="" TabStyle-TopBorderStyle-BorderColor="" TabStyle-BackColor="#E0E0E0" TabStyle-BottomBorderStyle-BorderWidth="" TabStyle-BottomBorderStyle-BorderColor="" ScrollBarArrowColor=""> </Aspose.Cells.GridWeb.ViewerStyleTemplate>

Примеры

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

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

Смотрите также