Are Windows .NET Basic .NET Forms Win32 Controls Built-In?

Do .NET Windows Forms applications use equivalent Win32 native controls for basic controls such as Textbox and Button? WPF is not native, but Windows Forms looks and feels very native. The animations in the Button control look exactly like the Win32 button.

+5
source share
1 answer

Yes, they are hellip, with a few exceptions.

Some things in WinForms are custom made. They use their own control, but they include drawing the owner and handle part of the drawing logic inside the C # code. The advantage of this is that it allows the use of type buttons BackColor, such as buttons that support custom color instead of the standard color of the system. As a rule, this should be avoided (at least in my opinion), because not only the effect is ugly, probably the reason why the user chose the color scheme that they made. But graphic designers often believe that they know better than users, so an option exists.

, , FlatStyle, (, ButtonBase.FlatStyle). FlatStyle.Standard.NET Framework , - . FlatStyle.System Win32 - .

. FlatStyle.System, . FlatStyle.Standard, . , . ( , DropDownStyle ComboBoxStyle.DropDownList).

, , FlatStyle.System, , FlatStyle.

. WinForms Win32, . DataGridView .

, MenuStrip ContextMenuStrip # WinForms. - Win32. Windows Vista , Office XP. Windows XP, . Professional System .

, MainMenu ContextMenu, . Visual Studio, . , , 100% Win32 , , Windows.

+7

All Articles