controling texturebrush?

  • Thread starter Thread starter martin
  • Start date Start date
M

martin

I have a problem with texture brush:

In datagrid, I need to paint some fields with brushes.
Those painted with gradient or basic brushes are ok,
but when I set texture brush it does not cover a selected field with texture
(texture is 40x20,field is 40x20). I mean, it covers the field but not with
whole texture:
effect is as if texture is tilled on datagrid,and then portion where field
is is cut and applied to field. Thus, due to different headerrow width +
gridlines,textures on almost all fields do not start at 0,0 as I would want
it. I could paint images over datagrid,but it seems much slower (painting
rowheader already causes enough flickering that I will start to curse
Microsoft - couldn't they have enabled more properties for datagrid and what
is the use of modern graphic cards when
redrawing speed is same on GF4Ti and my laptop with 8mb of SiS integrated
gc).
 
Thx Jay
Translating has solved the problem. Regarding other post of mine and your
answer: applying style does not extend to all run-time generated controls
(labels,textboxes and comboxes) - it has random effect on them.
 
Back
Top