X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2Fexamples%2Fdali-test.cs;h=73b7fb31f557d47ed4a7fa16c266d4f37aecc975;hp=856a4dde144f8647d468f0b39748feb6fbce59a5;hb=50a6c0040f45569ffa098042607582015fb1b137;hpb=39d4d89a9cc3bcd134922827d7009b2188fe7ffe diff --git a/plugins/dali-swig/examples/dali-test.cs b/plugins/dali-swig/examples/dali-test.cs index 856a4dd..73b7fb3 100644 --- a/plugins/dali-swig/examples/dali-test.cs +++ b/plugins/dali-swig/examples/dali-test.cs @@ -445,7 +445,7 @@ namespace MyCSharpExample // Background property Property.Map background = new Property.Map(); background.Add( Dali.Constants.Visual.Property.Type, new Property.Value((int)Dali.Constants.Visual.Type.Color) ) - .Add( Dali.Constants.ColorVisualProperty.MixColor, new Property.Value(Color.Red) ); + .Add( Dali.Constants.ColorVisualProperty.MixColor, new Property.Value(Color.Red) ); spin.Background = background; background = spin.Background; @@ -471,6 +471,17 @@ namespace MyCSharpExample Console.WriteLine ("Custom View BackgroundColor property : test failed"); } + // BackgroundImage property + spin.BackgroundImage = "background-image.jpg"; + if(spin.BackgroundImage == "background-image.jpg") + { + Console.WriteLine ("Custom View BackgroundImage property : test passed"); + } + else + { + Console.WriteLine ("Custom View BackgroundImage property : test failed"); + } + // StyleName property spin.StyleName = "MyCustomStyle"; if(spin.StyleName == "MyCustomStyle")