Hi,
I would like to format one field in a cell as BOLD, is this possible ?
Niclas
Hello Niclas,
What do you have in mind as a Field in a cell ?
Do you mean a TextElement in the Cell's Content? If that, you can set the FontWeight = Bold.
If that is not the case, please give me more information.
Alex.
Sorry if im getting the terminology wrong. I have a fieldlayout collection that consists of a number of fields, I would like one of these fields to be formatted as BOLD. From what I can see the Fontweight property applies to the whole grid and I havent been able to find a way to individually format fields.
Does this make sense ?
Niclas,
in this case, you need to create a style for the LabelPresenter and set the font weight in this style. Then apply the style to the particular field in the fieldlayout collection ( Field - Setting - LabelPresenterStyle )
Note: you have to set x:key to the style, otherwise it will applied to all of the LabelPresenters ( that means all fields ).