NEWS

[DEVEXPRESS] Sử dụng Fluent UI Scrollbar trên Gridview

[DEVEXPRESS] Sử dụng Fluent UI Scrollbar trên Gridview
Đăng bởi: Thảo Meo - Lượt xem: 3440 11:15:08, 05/07/2021C#   In bài viết

Xin chào các bạn, bài viết hôm nay mình sẻ tiếp tục hướng dẫn các bạn cách bật tính năng Fluent UI Scrollbar trên Gridview Devexpress từ phiên bản 18.2 trở lên nhé.

[DEVEXPRESS] Enable Fluent UI Scrollbar Gridview

Fluent UI Scrollbar là thanh Scroll được thu lại nhỏ gọn và trong suốt theo chuẩn thiết kế Fluent của Microsoft.

Giao diện demo bật tính năng Enabled Fluent UI Scrollbar:

18-2-winforms-fluent-scroolbar-hd

Ở hình trên, các bạn thấy thanh Scroll bar mỏng và trong suốt hơn bình thường.

Các bật tính năng trên c#.

Các bạn mở file program.cs và code vào như đoạn code dưới đây:

namespace FindDuplicateColumnValue
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            WindowsFormsSettings.ScrollUIMode = ScrollUIMode.Fluent; // thêm dòng này nhé
            Application.Run(new Form1());
        }
    }
}

Thanks for watching!

THÔNG TIN TÁC GIẢ

BÀI VIẾT LIÊN QUAN

[DEVEXPRESS] Sử dụng Fluent UI Scrollbar trên Gridview
Đăng bởi: Thảo Meo - Lượt xem: 3440 11:15:08, 05/07/2021C#   In bài viết

CÁC BÀI CÙNG CHỦ ĐỀ

Đọc tiếp
.