Skip to content

CesTextBox

CES edited this page Apr 30, 2024 · 11 revisions

Description / توضیح

This control is used to get string data from user and accept different type of data. By using of this control you can benefit from "CesTitleOption" and "CesBorderOption" feature and don't need any other extra control.

کنترل دریافت مقادیر متنی از کاربر با فرمت های مختلف. همچنین جهت استفاده از این کنترل می توانید از ویژگی نمایش عنوان متنی و آیکن نیز استفاده کنید و نیاز به استفاده از کنترل های اضافه دیگر نمی باشد.

Properties / ویژگی های

  • CesBorderOptions : To see detail of this section visit CesControlBase
  • CesTitleOptions : To see detail of this section visit CesControlBase
  • CesInputType : Value must be selected from "CesInputTypeEnum".
  • CesText : Get/Set string value of control.
  • CesShowCopyButton : Show/Hide "Copy" button to put text from clipboard.
  • CesShowPasteButton : Show/Hide "Paste" button to get text from clipboard.
  • CesShowClearButton : Show/Hide "Clear" button to clear input text.
  • CesTextAlignment : Set input text alignment. The value must be a member of HorizontalAlignment.
  • CesBorderOptions : جهت بررسی ویژگی های این بخش به To see detail of this section visit CesControlBase رجوع کنید
  • CesTitleOptions : جهت بررسی ویژگی های این بخش به To see detail of this section visit CesControlBase رجوع کنید
  • CesInputType : نوع مقدار ورودی توسط کاربر که می تواند یکی از مقادیر شمارشی CesInputTypeEnum باشد
  • CesText : این متغیر مقدار متن درج شده در کنترل را نگهداری و در صورت درخواست بر می گرداند.
  • CesShowCopyButton : نمایش / عدم نمایش دکمه Copy جهت ارسال متن داخل کنترل به حافظه.
  • CesShowPasteButton : نمایش / عدم نمایش دکمه Paste جهت دریافت متن ازحافظه و قرار دادن آن در کنترل.
  • CesShowClearButton : نمایش / عدم نمایش دکمه Clear جهت پاک کردن متن داخل کنترل.
  • CesTextAlignment : تنظیم تراز افقی متن ورودی. مقدار این ویژگی باید یکی از اعضای HorizontalAlignment باشد.

Methods / متدها

  • Clear : By calling this method you can clear "CesText" property value.
  • Clear : اجرای این متد مقدار CesText در کنترل را حذف خواهد کرد.
public enum CesInputTypeEnum
{
    Any,
    Number,
    Password,
    EmailAddress,
}