void UpdateFontWeight() { if (Control is IEntry ie) { ie.FontWeight = Specific.GetFontWeight(Element); } }
void UpdateFontWeight() { Control.FontWeight = Specific.GetFontWeight(Element); }