I need to make my button to CustomButton.
public class MyCustomButton : UIButton
{
string customProperty;
}
I have already a UIButton. Now I need to make it MyCustomButton.
But explicit type cast results in crash.
How can I instantiate MyCustomButton from already existed UIButton?
Aucun commentaire:
Enregistrer un commentaire