Find All Color's From your System

1. Drag a List Box (called lstFontStyle) then write the below Code in page load

string[] colorArray = Enum.GetNames(typeof(KnownColor));
lstFontColor .DataSource = colorArray;
lstFontColor.DataBind();




Santosh
Bangalore

No comments:

Post a Comment