This is because LinkButton
has a virtual
Text property.. whilst Button
does not.
You can hide the base functionality entirely by using new
:
public class IconButton : Button {
public new string Text {
// implementation
}
}
Using new
hides the inherited member completely.