Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
Setting alternate colors by code.
posted

I am using behaviors to provide custome settings to Xamdatagrid. i want to know how can i set the alternate and selected records background and foregrounds as these are the parts of DataRecordCellArea and CellValuePresenteri can change them by  setting binding on them but in my case i cann't use the binding for them so i need to write the behaviors and set the properties .

 

can somebody guide me how can i set the altername and selected foreground colors while i already have default style created for my template and need to change the values at runtime by code using behviors.