[TIMOB-19921] Windows: Implement missing View properties
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | High | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2015-11-23T14:40:49.000+0000 | 
| Affected Version/s | Release 5.1.0 | 
| Fix Version/s | Release 5.2.0 | 
| Components | Windows | 
| Labels | n/a | 
| Reporter | Kota Iguchi | 
| Assignee | Kota Iguchi | 
| Created | 2015-11-11T23:06:33.000+0000 | 
| Updated | 2017-03-21T22:38:16.000+0000 | 
Description
	From TIMOB-19837 Ti.UI.View TitaniumKit introduces a lot of properties. Ti.UI.View for Windows should implement them as much as possible.
https://github.com/appcelerator/titanium_mobile_windows/pull/477
Newly supported View properties
* backgroundFocusedColor * backgroundFocusedImage * backgroundGradient * backgroundSelectedColor * backgroundSelectedImage * borderColor * borderWidthTest case
var win = Ti.UI.createWindow(); var view = Ti.UI.createView({width:'50%', height:'50%'}); //view.backgroundImage = 'http://www.appcelerator.com/wp-content/themes/appc-rwd/assets/media/images/logo.png'; //view.backgroundColor = 'green'; //view.backgroundFocusedColor = "green"; //view.backgroundSelectedColor = "blue"; //view.backgroundSelectedImage = "Square71x71Logo.png"; //view.backgroundFocusedImage = "Square71x71Logo.png"; view.backgroundGradient = { type: 'linear', startPoint: { x: '0%', y: '50%' }, endPoint: { x: '100%', y: '100%' }, colors: [{ color: 'red', offset: 0.0 }, { color: 'blue', offset: 0.25 }, { color: 'red', offset: 1.0 }], } win.add(view); win.open();[~kota] Works as expected, Will you be updating the docs to show that selected/focused properties for the view are not working as of yet.
Closing ticket as fixed.