How to reference objects within a grid?
Created at 20 Jan 2025, 13:47
How to reference objects within a grid?
20 Jan 2025, 13:47
Hi guys,
How would i programmatically reference a grid object? I have a 2 x 2 grid, each cell contains a button. How would i be able to reference the button in Row 0, Column 0, or Row1, Column 0, using code?
I've looked at the documentation, but i can't find anything relating to indexes of grid Panels, or how to reference the cell contents.
Many Thanks,
firemyst
21 Jan 2025, 00:15 ( Updated at: 21 Jan 2025, 21:08 )
That's part of the C# language.
Try Google:
https://www.google.com/search?q=how+to+reference+button+inside+a+grid+C%23&sca_esv=a5c38de6a3382265&ei=juaOZ6muEsubseMP2v-nwAE&ved=0ahUKEwiprYPsw4WLAxXLTWwGHdr_CRgQ4dUDCA8&uact=5&oq=how+to+reference+button+inside+a+grid+C%23&gs_lp=Egxnd3Mtd2l6LXNlcnAiKGhvdyB0byByZWZlcmVuY2UgYnV0dG9uIGluc2lkZSBhIGdyaWQgQyMyCBAhGKABGMMEMggQIRigARjDBEj0OFDABljUNHABeACQAQCYAfUBoAHDGqoBBjAuNC4xMrgBA8gBAPgBAZgCBKAC9gTCAg4QABiABBiwAxiGAxiKBcICCBAAGLADGO8FwgILEAAYgAQYsAMYogTCAgoQIRigARjDBBgKwgIFEAAY7wXCAggQABiABBiiBMICCBAAGKIEGIkFmAMAiAYBkAYGkgcFMS4xLjKgB7M4&sclient=gws-wiz-serp
@firemyst