User Profile & Activity

Arief Handany Member
Page
of 20

Hello Jimmy,


AutoScrollToVisible is exclusively only for IOS platform due to built-in feature not exist inside IOS (Apple decide not to implement that feature for design flexibility & dynamic reasons), for other Platform that feature was already built-in and automatically applied so you don't need to use AutoScrollToVisible. You can read more about IOS & AutoScrollToVisible 
here.


If you want i can check your AutoScrollToVisible b
ut i need you tell me your AutoScrollToVisible implementation code or you can attach the error file


But normally you only need to use this code inside your View Controller in IOS folder

public override bool AutoScrollToVisible               {            get            {                return true;            }        }


Hope that answer your question :)

Best Regards,
Arief


Posted: February 23, 2015 9:53 AM

Hello Thomas,

BackgroundColor issue have been solved (CROS-724) you can download the nightly build here

If the problem still persist please tell us :)

Best Regards,
Arief

Hi Jimmy,

Both WinPhone and WinRT can use this:

<!--Replace
<Image Source="{Binding YourImage, Converter={StaticResource ImageConverter}"/>
With
-->

<Ellipse>
    <Ellipse.Fill>
        <ImageBrush ImageSource="{Binding YourImage, Converter={StaticResource ImageConverter}"/>
    </Ellipse.Fill>
</Ellipse>

But for Android currently there are no easy way to create circular image however Crosslight Team already solve the issue and will be available in next version of crosslight also it will be similar to how IOS create circular image.

i will update you when next version are available.

Best Regards,

Arief


Posted: February 12, 2015 10:49 AM
Hello Thomas,

Please try download from http://git.intersoftpt.com/projects/CROS/repos/samples/browse?at=refs%2Fheads%2Fdevelop, also please note that actually we decided not to change the raw data but only the parser file from ItemRepository.cs.

For BackgroundColor It is confirmed as a bug registered with CROS-724

Hope that answer your questions :)

Best Regards,

Arief
Posted: February 12, 2015 4:11 AM

Hi Nelson,

Project Wizard for Xamarin Mac is not yet available, meanwhile we suggest you to use Project Wizard from Visual Studio then move the project directory to Mac

Project Wizard is a planned feature for Crosslight 4, you can check more about Crosslight 4 in Crosslight Roadmap for 2015 which scheduled to live by the end of this week.

I'll update this thread with the link of the Crosslight roadmap.

Posted: February 5, 2015 2:37 AM

Hello Thomas

Yes you are right, it was from TextLabelStyleConverter() ( which you put inside binding providers) as you can see from file Core/Converters/TextLabelStyleConverters.cs we only need to write:

StyleAttributes style = new StyleAttributes();
style.Strikethrough = true;

Thank to our crosslight library we only need to write that code, normally you need to use PaintFlag inside android Activity but if we want to set strikethrough to multiple layout it is better if we use this method, thats the reason why there are Converters folder.

Hope that answer your question :)

Best Regards,
Arief

Posted: February 4, 2015 10:02 AM

Hello Thomas,

Sorry, actually this is mistyping from our own end, you can see it at line 114 and line 119 inside ModelServices/ItemRepository.cs.

//line 114
IsSold = ParseBoolean(x.Element("IsSold")),
//line 119
item.SoldDate = DateTime.Parse(x.Element("SoldDate").Value,CultureInfo.InvariantCulture);

The parser actually use <IsSold> and <SoldDate> name rather than <Sold> and <SellDate>, one thing to note after you change the inventories.xml that IsSold have bool.parse and can only accept On/Off, True/False, and Yes/No if you put 1 or 0 it will send unhandled exceptions. 

Thank you very much for your discovery, we already fixed the samples. You can redownload the samples from our git server and please tell us if the problem still persist.

Best Regards,

Arief

Hi Leo,

We have recently released Crosslight 3.0 Update 2 which includes support for navigation in UICarouselView. Please click here to read more about the official press release.


To use navigation in your UICarouselView you can add this code inside your UICarouselView Binding Provider including code for showing the carousel items:

/* To use this template you need to replace the following placeholder:    
 * - TBindingName, use the same Binding Name with Binding Name for showing carousel item 
 * - TDetailViewModel, navigate to target detail view model that you want  
 */
this.AddBinding("TBindingName", BindableProperties.DetailNavigationTargetProperty, new NavigationTarget(typeo(TDetailViewModel)), true);


You can test this code using our View Slider Samples (from git server), try add this code inside ImageSliderBindingProvider.cs at ViewSliderSamples.Core/BindingProviders/ImageSlider/ImageSliderBindingProvider.cs:

this.AddBinding("ViewSlider", BindableProperties.DetailNavigationTargetProperty, new NavigationTarget(typeof(DetailItemSliderViewModel)), true);


Hope that answer your questions :)

Posted: February 3, 2015 2:09 AM

We have recently released Crosslight 3.0 Update 2 which includes the fix for this issue. Please click here to read the official press release.

All times are GMT -5. The time now is 1:45 PM.
Previous Next