1 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SplitterProps.aspx.cs" Inherits="ZeeControls2Demo.WebDock.Basic.SplitterProps" Theme="Default" %>
2
3 <%@ Register Assembly="ZettaCube.ZeeControls" Namespace="ZettaCube.ZeeControls" TagPrefix="cc1" %>
4
5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6
7 <html xmlns="http://www.w3.org/1999/xhtml" >
8 <head runat="server">
9 <title>Splitter/Action Buttons/Tab Strip Appearance</title>
10
11 <script type="text/javascript" src="../../common.js"></script>
12
13 </head>
14 <body>
15 <form id="form1" runat="server">
16 <div>
17
18 <cc1:WebDock ID="WebDock1" runat="server" FitParent="FitWindow" Height="664px" Width="839px">
19 <MainContent>
20 <strong>
21 Splitter/Action Buttons/Tab Strip Appearance
22 <br />
23 </strong>
24 <br />
25 Appearances of action buttons, splitters, and tab strips can be customized with
26 CSS and the following properties:
27 <br />
28 <br />
29 ActionButtonProps, SplitterProps and TabStripProps.
30 </MainContent>
31 <TabStripProps ImagesFolderUrl="~/images/tabs" />
32 <Panels>
33 <cc1:WebDockPanel runat="server">
34 <Tabs>
35 <cc1:WebDockTabbedPanel runat="server" ImageFileName="Folders.gif" Title="Folders">
36 <Content>
37 Content of Folders
38 </Content>
39 </cc1:WebDockTabbedPanel>
40 <cc1:WebDockTabbedPanel runat="server" ImageFileName="Servers.gif" Title="Servers">
41 <Content>
42 Content of Servers
43 </Content>
44 </cc1:WebDockTabbedPanel>
45 </Tabs>
46 </cc1:WebDockPanel>
47 <cc1:WebDockPanel runat="server" Dock="Bottom">
48 <Tabs>
49 <cc1:WebDockTabbedPanel runat="server" ImageFileName="FindResults.gif" Title="Find Results">
50 <Content>
51 Content of Find Results
52 </Content>
53 </cc1:WebDockTabbedPanel>
54 <cc1:WebDockTabbedPanel runat="server" ImageFileName="Output.gif" Title="Output">
55 <Content>
56 Content of Output
57 </Content>
58 </cc1:WebDockTabbedPanel>
59 <cc1:WebDockTabbedPanel runat="server" ImageFileName="Breakpoints.gif" Title="Breakpoints">
60 <Content>
61 Content of Breakpoints
62 </Content>
63 </cc1:WebDockTabbedPanel>
64 </Tabs>
65 </cc1:WebDockPanel>
66 <cc1:WebDockPanel runat="server" Dock="Right" ActiveTabIndex="1">
67 <Tabs>
68 <cc1:WebDockTabbedPanel runat="server" ImageFileName="Properties.gif" Title="Properties">
69 <Content>
70 Content of Properties
71 </Content>
72 </cc1:WebDockTabbedPanel>
73 <cc1:WebDockTabbedPanel runat="server" ImageFileName="References.gif" Title="References">
74 <Content>
75 Content of References
76 </Content>
77 </cc1:WebDockTabbedPanel>
78 </Tabs>
79 </cc1:WebDockPanel>
80 </Panels>
81 <ActionButtonProps ShowMaximize="True" HasCustomActionIcons="True" ImagesFolderUrl="~/images/actionbuttons" />
82 <SplitterProps HasBackground="True" HasRollOverImages="True" HasThumbImage="True"
83 ImagesFolderUrl="~/images/splitter" LiveRefresh="True" Thickness="6" ThumbImageLength="50" />
84 </cc1:WebDock>
85
86
87 </div>
88 </form>
89 </body>
90 </html>
91
1 using System;
2 using System.Data;
3 using System.Configuration;
4 using System.Collections;
5 using System.Web;
6 using System.Web.Security;
7 using System.Web.UI;
8 using System.Web.UI.WebControls;
9 using System.Web.UI.WebControls.WebParts;
10 using System.Web.UI.HtmlControls;
11
12 namespace ZeeControls2Demo.WebDock.Basic
13 {
14 public partial class SplitterProps : System.Web.UI.Page
15 {
16 protected void Page_Load(object sender, EventArgs e)
17 {
18
19 }
20 }
21 }
22
1 body
2 {
3 font-family: Tahoma, Geneva;
4 font-size: 10pt;
5 }
6
7 .ZCWDMainContent, .ZCWDPanelContent
8 {
9 padding: 3px;
10 }
11
12 .ZCWDPanelTitleBar
13 {
14 padding-left: 3px;
15 }
16
17 .ZCWSPanel
18 {
19 padding: 3px;
20 }
21
22 .title
23 {
24 display: block;
25 font-weight:bold;
26 line-height: 24px;
27 }
28
29 .indent
30 {
31 padding: 10px;
32 padding-left: 30px;
33 }
34
35 .blah
36 {
37 color: Gray;
38 }
39
40 .tableRowHeader
41 {
42 color: #666666;
43 }
44
45 .tableColumnHeader
46 {
47 color: #666666;
48 }
49
1 <%--
2 Default skin template. The following skins are provided as examples only.
3
4 1. Named control skin. The SkinId should be uniquely defined because
5 duplicate SkinId's per control type are not allowed in the same theme.
6
7 <asp:GridView runat="server" SkinId="gridviewSkin" BackColor="White" >
8 <AlternatingRowStyle BackColor="Blue" />
9 </asp:GridView>
10
11 2. Default skin. The SkinId is not defined. Only one default
12 control skin per control type is allowed in the same theme.
13
14 <asp:Image runat="server" ImageUrl="~/images/image1.jpg" />
15 --%>