DevExpress Tutorial - How to Insert button into row GridControl | FoxLearn

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome to foxlearn in this video i'll show you how to insert buttons into grid control as well as how to use grid control in devexpress open your visual studio then create a new windows forms application project [Music] after you finish creating a new windows forms project you can right-click on your project then select add devexpress item next select new item to create a new devexpress form [Music] next open your form designer then drag the grid control from your visual studio toolbox into your form designer the grid control provides rich capabilities for displaying shaping and editing data from any data source [Music] next right click on your project then add an ado.net entity data model to your project we will use entity framework to retrieve data from the northwind database entity framework is an open source orm framework for net applications supported by microsoft it enables developers to work with data using objects of domain specific classes without focusing on the underlying database tables and columns where this data is stored in this video i'll use the product and category tables in the northwind database for practice then retrieve and display the data into grid control [Music] after you finish creating the ado.net entity data model you should see the diagram like in this video and don't forget to rebuild your [Music] project click on the arrow icon on grid control then add the data source to your grid control double-click your form to add a formload event handler that allows you to initialize the data source into grid control [Music] you can click the run designer button on grid control to attach a repository item grid lookup edit to grid control that allows you to display the category name select the repository section then add a repository item gridlookup edit the repository item lookup edit class contains settings specific to the grid lookup edit control you can access these settings via the editor's grid lookup edit properties object don't forget to set data source display member and value member to repository item grid lookup edit select the columns section then select the category column and set the column edit property to repository item grid lookup edit [Music] you can easily add a search box to grid control that allows you to filter data in any column [Music] do [Music] you can also filter data by column remove any column or group data by column with grid [Music] control to add a button to grid control you can use the repository item button edit the repository item button edit class provides properties that allow you to access the button collection specify the button's appearance defined text box visibility and availability it also provides button click and button pressed event that can be handled to respond to click events [Music] do [Music] do [Music] [Music] [Music] if you want to change the look and feel of devexpress forms you can use the devexpress project [Music] settings [Music] if you want to add an image into the repository item button edit you should change the kind property to glyph then add an image to the image options [Music] property thank you for watching this video and don't forget to subscribe to my channel
Info
Channel: Fox Learn
Views: 44,316
Rating: undefined out of 5
Keywords: devexpress, grid control, c#, .net, foxlearn, c# winforms, devexpress tutorial, devexpress gridcontrol, devexpress winforms, insert button into row, gridcontrol, button into row, insert button into row gridcontrol, add button gridcontrol devexpress, devexpress gridcontrol add button in column, gridcontrol add button, devexpress gridcontrol add delete button, c# devexpress gridcontrol add button, how to insert button into row grid control devexpress, c# devexpress, c# gridcontrol
Id: NVrse9kFbMs
Channel Id: undefined
Length: 11min 28sec (688 seconds)
Published: Thu Dec 17 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.