Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
QuestionVisual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff3-Jan-19 20:47
professionalBillWoodruff3-Jan-19 20:47 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan3-Jan-19 22:17
mveRichard MacCutchan3-Jan-19 22:17 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff3-Jan-19 22:37
professionalBillWoodruff3-Jan-19 22:37 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan3-Jan-19 22:52
mveRichard MacCutchan3-Jan-19 22:52 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff4-Jan-19 4:31
professionalBillWoodruff4-Jan-19 4:31 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan4-Jan-19 5:09
mveRichard MacCutchan4-Jan-19 5:09 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Luc Pattyn4-Jan-19 6:25
sitebuilderLuc Pattyn4-Jan-19 6:25 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan4-Jan-19 6:37
mveRichard MacCutchan4-Jan-19 6:37 
AnswerRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Luc Pattyn4-Jan-19 0:54
sitebuilderLuc Pattyn4-Jan-19 0:54 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff4-Jan-19 4:24
professionalBillWoodruff4-Jan-19 4:24 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Luc Pattyn4-Jan-19 4:54
sitebuilderLuc Pattyn4-Jan-19 4:54 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff4-Jan-19 13:01
professionalBillWoodruff4-Jan-19 13:01 
AnswerRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard Deeming8-Jan-19 7:57
mveRichard Deeming8-Jan-19 7:57 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff9-Jan-19 1:39
professionalBillWoodruff9-Jan-19 1:39 
AnswerRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Super Lloyd10-Jan-19 15:37
Super Lloyd10-Jan-19 15:37 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff11-Jan-19 6:55
professionalBillWoodruff11-Jan-19 6:55 
QuestionSync Database from Local System to server Pin
Member 140373423-Jan-19 20:19
Member 140373423-Jan-19 20:19 
AnswerRe: Sync Database from Local System to server Pin
Pete O'Hanlon3-Jan-19 23:44
mvePete O'Hanlon3-Jan-19 23:44 
QuestionList control Pin
Member 35685022-Jan-19 23:15
Member 35685022-Jan-19 23:15 
AnswerRe: List control Pin
Richard MacCutchan3-Jan-19 1:20
mveRichard MacCutchan3-Jan-19 1:20 
QuestionWhy is the Custom Picker SelectedItem always wrong? Pin
ChristopherLeon2-Jan-19 21:13
ChristopherLeon2-Jan-19 21:13 
SuggestionRe: Why is the Custom Picker SelectedItem always wrong? Pin
Richard MacCutchan2-Jan-19 22:03
mveRichard MacCutchan2-Jan-19 22:03 
GeneralRe: Why is the Custom Picker SelectedItem always wrong? (Xamarin Cross Plattform - iOS) Pin
ChristopherLeon2-Jan-19 23:31
ChristopherLeon2-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
mvePete O'Hanlon2-Jan-19 23:13 
Questionconvert word document to HTML with special characters Pin
Member 141066092-Jan-19 20:37
Member 141066092-Jan-19 20:37 

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.