Пример #1
0
        protected void SetupTabStyle(TabStrip tsVert)
        {
            tsVert.TabDefaultStyle.AppendCssText("font-family: Verdana;" +
                                                 "font-size: 11pt;" +
                                                 "border:solid 1px black;" +
                                                 "background:#dddddd;" +
                                                 "padding-left:5px;" +
                                                 "padding-right:5px;");

            tsVert.TabHoverStyle.AppendCssText("color:#4768A3;");
            tsVert.TabSelectedStyle.AppendCssText("font-family: Verdana;" +
                                                  "font-size: 11pt;" +
                                                  "border:solid 1px black;" +
                                                  "border-bottom:none;" +
                                                  "background:white;" +
                                                  "padding-left:5px;" +
                                                  "padding-right:1px;");

            tsVert.SepDefaultStyle.AppendCssText("border-bottom:solid 1px #000000;");
        }
Пример #2
0
 /// <summary>
 /// Sets the parent of this item.
 /// </summary>
 /// <param name="parent">The parent TabStrip.</param>
 internal void SetParentTabStrip(TabStrip parent)
 {
     _Parent = parent;
 }
Пример #3
0
 /// <summary>
 /// Sets the parent of this item.
 /// </summary>
 /// <param name="parent">The parent TabStrip.</param>
 internal void SetParentTabStrip(TabStrip parent)
 {
     _Parent = parent;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of a TabItemCollection.
 /// </summary>
 /// <param name="parent">The parent TabStrip of this collection.</param>
 public TabItemCollection(TabStrip parent) : base()
 {
     _Parent = parent;
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of a TabItemCollection.
 /// </summary>
 public TabItemCollection() : base()
 {
     _Parent = null;
 }