Click here to Skip to main content
14,124,595 members
   

C#

 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff11-Jan-19 6:55
mveBillWoodruff11-Jan-19 6:55 
QuestionSync Database from Local System to server Pin
Member 140373423-Jan-19 20:19
memberMember 140373423-Jan-19 20:19 
AnswerRe: Sync Database from Local System to server Pin
Pete O'Hanlon3-Jan-19 23:44
protectorPete O'Hanlon3-Jan-19 23:44 
QuestionList control Pin
Member 35685022-Jan-19 23:15
memberMember 35685022-Jan-19 23:15 
AnswerRe: List control Pin
Richard MacCutchan3-Jan-19 1:20
protectorRichard MacCutchan3-Jan-19 1:20 
QuestionWhy is the Custom Picker SelectedItem always wrong? Pin
ChristopherLeon2-Jan-19 21:13
memberChristopherLeon2-Jan-19 21:13 
SuggestionRe: Why is the Custom Picker SelectedItem always wrong? Pin
Richard MacCutchan2-Jan-19 22:03
protectorRichard MacCutchan2-Jan-19 22:03 
GeneralRe: Why is the Custom Picker SelectedItem always wrong? (Xamarin Cross Plattform - iOS) Pin
ChristopherLeon2-Jan-19 23:31
memberChristopherLeon2-Jan-19 23:31 
I tried a lot of things.

This is the XAML file where the custom picker is defined:

<local:MyPickerRenderer x:Name="PositionPicker" Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Margin="0,6" Style="{StaticResource TextBox}" VerticalOptions="Start" SelectedIndexChanged="Handle_SelectedIndexChangedPositionPicker" SelectedItem="{Binding SelectedPosition, Mode=OneWay}">
    <local:MyPickerRenderer.Items>
        <x:String>element 1</x:String>
        <x:String>element 2</x:String>
        <x:String>element 3</x:String>
        <x:String>element 4</x:String>
        <x:String>element 5</x:String>
        <x:String>element 6</x:String>
        <x:String>element 7</x:String>
        <x:String>element 8</x:String>
        <x:String>element 9</x:String>
        <x:String>element 10</x:String>
        <x:String>element 11</x:String>
        <x:String>element 12</x:String>
        <x:String>element </x:String>
    </local:MyPickerRenderer.Items>
</local:MyPickerRenderer>


I think that the method
SelectedIndexChange
is overridden by the custom renderer
local:MyPickerRenderer


Is it possible to access this method again?

Actually
SelectedIndexChanged="Handle_SelectedIndexChangedPositionPicker
gives no output:
(Code in the associated .cs file)

void Handle_SelectedIndexChangedPositionPicker(object sender, System.EventArgs e)
  {
     Console.WriteLine(PositionPicker.SelectedItem);
  }

AnswerRe: Why is the Custom Picker SelectedItem always wrong? Pin
Pete O'Hanlon2-Jan-19 23:13
protectorPete O'Hanlon2-Jan-19 23:13 
Questionconvert word document to HTML with special characters Pin
Member 141066092-Jan-19 20:37
memberMember 141066092-Jan-19 20:37 
AnswerRe: convert word document to HTML with special characters Pin
OriginalGriff2-Jan-19 21:17
protectorOriginalGriff2-Jan-19 21:17 
Questionc# error: ...does not implement interface member... Pin
_Q12_1-Jan-19 11:33
member_Q12_1-Jan-19 11:33 
AnswerRe: c# error: ...does not implement interface member... Pin
BillWoodruff1-Jan-19 19:45
mveBillWoodruff1-Jan-19 19:45 
GeneralRe: c# error: ...does not implement interface member... Pin
_Q12_2-Jan-19 0:31
member_Q12_2-Jan-19 0:31 
GeneralRe: c# error: ...does not implement interface member... Pin
BillWoodruff2-Jan-19 0:50
mveBillWoodruff2-Jan-19 0:50 
GeneralRe: c# error: ...does not implement interface member... Pin
_Q12_2-Jan-19 0:59
member_Q12_2-Jan-19 0:59 
GeneralRe: c# error: ...does not implement interface member... Pin
BillWoodruff2-Jan-19 2:58
mveBillWoodruff2-Jan-19 2:58 
AnswerRe: c# error: ...does not implement interface member... Pin
mtoha13-Jan-19 19:33
professionalmtoha13-Jan-19 19:33 
QuestionHow to clone a videoPlayer trackbar? Pin
_Q12_1-Jan-19 4:15
member_Q12_1-Jan-19 4:15 
AnswerRe: How to clone a videoPlayer trackbar? Pin
Dave Kreskowiak1-Jan-19 4:54
mveDave Kreskowiak1-Jan-19 4:54 
GeneralRe: How to clone a videoPlayer trackbar? Pin
_Q12_1-Jan-19 5:03
member_Q12_1-Jan-19 5:03 
GeneralRe: How to clone a videoPlayer trackbar? Pin
Dave Kreskowiak1-Jan-19 5:09
mveDave Kreskowiak1-Jan-19 5:09 
GeneralRe: How to clone a videoPlayer trackbar? Pin
_Q12_1-Jan-19 5:54
member_Q12_1-Jan-19 5:54 
AnswerRe: How to clone a videoPlayer trackbar? Pin
OriginalGriff1-Jan-19 5:22
protectorOriginalGriff1-Jan-19 5:22 
GeneralRe: How to clone a videoPlayer trackbar? Pin
_Q12_1-Jan-19 6:28
member_Q12_1-Jan-19 6:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190518.1 | Last Updated 22 May 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid