PageRenderTime 33ms CodeModel.GetById 24ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/admin/tinyMCE.ascx.cs

#
C# | 85 lines | 54 code | 11 blank | 20 comment | 0 complexity | 54e836631b549f0da7bc7fd088960abb MD5 | raw file
 1// --------------------------------------------------------------------------------------------------------------------
 2// <summary>
 3//   The admin tiny mce.
 4// </summary>
 5// --------------------------------------------------------------------------------------------------------------------
 6
 7namespace Admin
 8{
 9    using System.Web.UI;
10    using System.Web.UI.WebControls;
11
12    /// <summary>
13    /// The admin tiny mce.
14    /// </summary>
15    public partial class TinyMce : UserControl
16    {
17        #region Properties
18
19        /// <summary>
20        /// Gets or sets Height.
21        /// </summary>
22        public Unit Height
23        {
24            get
25            {
26                return this.txtContent.Height;
27            }
28
29            set
30            {
31                this.txtContent.Height = value;
32            }
33        }
34
35        /// <summary>
36        /// Gets or sets TabIndex.
37        /// </summary>
38        public short TabIndex
39        {
40            get
41            {
42                return this.txtContent.TabIndex;
43            }
44
45            set
46            {
47                this.txtContent.TabIndex = value;
48            }
49        }
50
51        /// <summary>
52        /// Gets or sets Text.
53        /// </summary>
54        public string Text
55        {
56            get
57            {
58                return this.txtContent.Text;
59            }
60
61            set
62            {
63                this.txtContent.Text = value;
64            }
65        }
66
67        /// <summary>
68        /// Gets or sets Width.
69        /// </summary>
70        public Unit Width
71        {
72            get
73            {
74                return this.txtContent.Width;
75            }
76
77            set
78            {
79                this.txtContent.Width = value;
80            }
81        }
82
83        #endregion
84    }
85}