dotnet / dotnet-api-docs

.NET API reference documentation (.NET 5+, .NET Core, .NET Framework)
https://docs.microsoft.com/dotnet/api/
Other
719 stars 1.56k forks source link

Types replaced in 4.0 (ToolBar, MainMenu, DataGrid) should clearly indicate such. #3353

Open merriemcgaw opened 5 years ago

merriemcgaw commented 5 years ago

ToolBar/ToolBarButton,, MainMenu/Menu/MenuItem and the DataGrid and related classes were replaced in .NET 4 with newer, more flexible controls. On the DataGrid main page I couldn't find that note until I'd read the entire document. Other related pages also don't clearly indicate that developers should opt for the newer controls.

I don't know for sure the Core 3.1 plans here yet, but I'm sure they'll be different from the support in the Framework.

mairaw commented 5 years ago

@merriemcgaw so what are the replacements?

So DataGridView is the new replacement for DataGrid. What about the others? Thanks.

merriemcgaw commented 4 years ago

ToolStrip, MenuStrip, ContextMenuStrip etc. @OliaG has a table with the replacements - and then the corresponding child control on the ToolStrip like buttons etc.