loose

Scrolling Text Block/Area/Div in Loose XAML

Hi Is there any way to display scrollabletext in loose xaml? The equivalent in HTML would be <div style="overflow:scroll">some long bit of text here</div> Can you do this in loose xaml? From my experiments so far it seems that in loose xaml a) you cannot use TextBox it must be TextBlock b) TextBlock doesn't seem to have any stylin...

Conceptual question: Loose Coupling

Hi, I am building a graphic board like project where i am facing a design issue. Main Class is Board which is a canvas responsible for handling mouse events when drawing shapes. It also has context variables such as currentShape or snapFlag to activate grid magnetism. To handle the moving / resizing / rotating of the shapes, they inhe...

Making OR/M loosely coupled and abstracted away from other layers.

Hi all. In an n-tier architecture, the best place to put an object-relational mapping (OR/M) code is in the data access layer. For example, database queries and updates can be delegated to a tool like NHibernate. Yet, I'd like to keep all references to NHibernate within the data access layer and abstract dependencies away from the lay...

Assembly Reference in Loose XAML

I have scenario where my loose xaml file can contain the custom control from another assembly. How do i make a reference to that assembly. My Loose XAML and assembly are at the same path. I know the embedded xaml or xaml with in a project, the reference is added like this: xmlns:WpfToolKit="http://schemas.microsoft.com/wpf/2008/toolkit"...