PageRenderTime 38ms CodeModel.GetById 17ms RepoModel.GetById 0ms 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
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. // --------------------------------------------------------------------------------------------------------------------
  2. // <summary>
  3. // The admin tiny mce.
  4. // </summary>
  5. // --------------------------------------------------------------------------------------------------------------------
  6. namespace Admin
  7. {
  8. using System.Web.UI;
  9. using System.Web.UI.WebControls;
  10. /// <summary>
  11. /// The admin tiny mce.
  12. /// </summary>
  13. public partial class TinyMce : UserControl
  14. {
  15. #region Properties
  16. /// <summary>
  17. /// Gets or sets Height.
  18. /// </summary>
  19. public Unit Height
  20. {
  21. get
  22. {
  23. return this.txtContent.Height;
  24. }
  25. set
  26. {
  27. this.txtContent.Height = value;
  28. }
  29. }
  30. /// <summary>
  31. /// Gets or sets TabIndex.
  32. /// </summary>
  33. public short TabIndex
  34. {
  35. get
  36. {
  37. return this.txtContent.TabIndex;
  38. }
  39. set
  40. {
  41. this.txtContent.TabIndex = value;
  42. }
  43. }
  44. /// <summary>
  45. /// Gets or sets Text.
  46. /// </summary>
  47. public string Text
  48. {
  49. get
  50. {
  51. return this.txtContent.Text;
  52. }
  53. set
  54. {
  55. this.txtContent.Text = value;
  56. }
  57. }
  58. /// <summary>
  59. /// Gets or sets Width.
  60. /// </summary>
  61. public Unit Width
  62. {
  63. get
  64. {
  65. return this.txtContent.Width;
  66. }
  67. set
  68. {
  69. this.txtContent.Width = value;
  70. }
  71. }
  72. #endregion
  73. }
  74. }