P pooya1072 Well-known member Joined Jul 5, 2012 Messages 84 Programming Experience Beginner Apr 7, 2013 #1 hi i want to Create a new class inherits of datagridview with a function in this path Datagridview.Rows().Cells().MyNewFunction can i do that? if yes how? Last edited: Apr 7, 2013
hi i want to Create a new class inherits of datagridview with a function in this path Datagridview.Rows().Cells().MyNewFunction can i do that? if yes how?
JohnH VB.NET Forum Moderator Staff member Joined Dec 17, 2005 Messages 15,828 Location Norway Programming Experience 10+ Apr 7, 2013 #2 You can write an extension method for type DataGridViewCellCollection: Extension Methods (Visual Basic) Upvote 0 Downvote
You can write an extension method for type DataGridViewCellCollection: Extension Methods (Visual Basic)
P pooya1072 Well-known member Joined Jul 5, 2012 Messages 84 Programming Experience Beginner Apr 7, 2013 #3 ok... thanks but what about property? cant create a new property in this way !!!? Last edited: Apr 8, 2013 Upvote 0 Downvote