[Ironruby-core] Silverlight B3 - Positioning an element within a Canvas

Thibaut Barrère thibaut.barrere at gmail.com
Fri Jun 26 09:30:16 EDT 2009


Hi,

> layout_root.rect.set_value(Canvas.TopProperty, 0.0)

not sure if this syntax is supposed to work or not, as I'm just
getting into "attached properties".

But the following syntax works instead, if someone is trying to achieve this:

    Canvas.SetTop(text_block, 200)

hth,

-- Thibaut


More information about the Ironruby-core mailing list