CesCollapsiblePanel - CesSolutions/Ces.WinForm.UI GitHub Wiki

Description / توضیح

This control is similar to "CesGroupBox" with additional feature to collapse or expand control body. If you click on body area, "Panel" will be accessible to be configured by you and you can set "AutoScroll" value to true to use this feature.

این کنترل همانند "CesGroupBox" می باشد اما با یک ویژگی اضافه جهت بستن و باز کردن بدنه کنترل. اگر در ناحیه بدنه کنترل کیک کنید ویژگی های "Panel" دراختیار قرار خواهد گرفت و میتوانید ویژگی "AutoScroll" را فعال کنید.

Properties / ویژگی ها

  • CesState : Get/Set state of control. Returned value is "CesCollapsiblePanelStateEnum".
  • CesTitle : Set titel for control.
  • CesShowIcon : Show/Hide icon left side of title.
  • CesIcon : Select image to show as icon at the left of the title.
  • CesTitleBackColor : Set back color of title.
  • CesTitleTextColor : Set color for title text.
  • CesBackColor : Set color for body of control.
  • CesTitleHeight : Set height for title.
  • CesState : این متغیر آخرین وضعیت کنترل را نشان می دهد و مقدار برگشتی آن CesCollapsiblePanelStateEnum است.
  • CesTitle : تعیین متن عنوان.
  • CesShowIcon : نمایش / عدم نمایش آیکن.
  • CesIcon : انتخاب یک تصویر به عنوان آیکن در سمت چپ عنوان.
  • CesTitleBackColor : تعیین رنگ پس زمینه برای عنوان.
  • CesTitleTextColor : تعیین رنگ متن عنوان.
  • CesBackColor : تعیین رنگ پس زمینه برای بدنه کنترل.
  • CesTitleHeight : تنظیم ارتفاع عنوان.

CesCollapsiblePanelStateEnum

public enum CesCollapsiblePanelStateEnum
{
    Collapsed,
    Expanded,
}

Events / رویدادها

  • CesCollapsiblePanelStateChanged : Raises when user click on button at top-right of control.
  • CesCollapsiblePanelStateChanged : این رویداد زمانی که کاربر روی دکمه سمت راست-بالا کلیک کند.
⚠️ **GitHub.com Fallback** ⚠️