views:

466

answers:

1

Hi@all I have some weird requirements for a visualbrush: This Visualbrush must be used in a third-party component for diagramming. We have lanes on the diagramming canvas, which stretch horizantally. We must define a background color for this lane, and some text on the top-left corner, which must be repeated on the x-axis. Now comes the big problem: the only thing we can do is provide a visualbrush to the diagramming component, which is then set as background for the lane. It seems impossible to work with this restriction, because, as far as I know, I couldn't define a text with fixed size, repeating on the x-axis, while having a color brush stretching, all within one visualbrush. The text must remain the same size while the rest ist filed with color while resizing this lane.

Any ideas? We use the Mindfusion WPF Diagramming Component

p.s.:sorry for my bad english :)

A: 

Nobody has any idea?

Alex Maker