public void CanUseBindableObjectDefinedInOtherAssembly(bool useCompiledXaml) { var layout = new Issue3076(useCompiledXaml); Assert.That(layout.controls, Is.TypeOf <Controls.Issue3076Button> ()); Assert.AreEqual(TextAlignment.Start, layout.controls.HorizontalContentAlignment); }
public void CanUseBindableObjectDefinedInThisAssembly(bool useCompiledXaml) { var layout = new Issue3076(useCompiledXaml); Assert.That(layout.local, Is.TypeOf <Issue3076Button> ()); Assert.AreEqual(TextAlignment.Start, layout.local.VerticalContentAlignment); }