Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MobileScreenReadersApi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
public_accessibility_software
MobileScreenReadersApi
Commits
461501a2
Commit
461501a2
authored
Apr 24, 2020
by
Paolo Pecis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished Xamarin Custom Action
parent
75412a54
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
29 deletions
+12
-29
UserPrefs.xml
...ARINCustomAction/.vs/XAMARINCustomAction/xs/UserPrefs.xml
+10
-8
CustomActionIos.cs
...INCustomAction/XAMARINCustomAction.iOS/CustomActionIos.cs
+2
-21
No files found.
CustomAction/XAMARINCustomAction/.vs/XAMARINCustomAction/xs/UserPrefs.xml
View file @
461501a2
<Properties
StartupConfiguration=
"{4F6DEB6F-CBE0-467D-B834-06210B57FA32}|Default"
>
<Properties
StartupConfiguration=
"{4F6DEB6F-CBE0-467D-B834-06210B57FA32}|Default"
>
<MonoDevelop.Ide.Workbench
ActiveDocument=
"XAMARINCustomAction
.iOS/CustomActionIos
.cs"
>
<MonoDevelop.Ide.Workbench
ActiveDocument=
"XAMARINCustomAction
/MainPage.xaml
.cs"
>
<Files>
<Files>
<File
FileName=
"XAMARINCustomAction/MainPage.xaml.cs"
Line=
"
23"
Column=
"50
"
/>
<File
FileName=
"XAMARINCustomAction/MainPage.xaml.cs"
Line=
"
17"
Column=
"23
"
/>
<File
FileName=
"XAMARINCustomAction/ICustomAction.cs"
/>
<File
FileName=
"XAMARINCustomAction/ICustomAction.cs"
Line=
"1"
Column=
"1"
/>
<File
FileName=
"XAMARINCustomAction.iOS/CustomActionIos.cs"
Line=
"
22"
Column=
"6
"
/>
<File
FileName=
"XAMARINCustomAction.iOS/CustomActionIos.cs"
Line=
"
32"
Column=
"17
"
/>
<File
FileName=
"XAMARINCustomAction.iOS/Info.plist"
/>
<File
FileName=
"XAMARINCustomAction.iOS/Info.plist"
/>
</Files>
</Files>
<Pads>
<Pads>
<Pad
Id=
"ProjectPad"
>
<Pad
Id=
"ProjectPad"
>
<State
name=
"__root__"
>
<State
name=
"__root__"
>
<Node
name=
"XAMARINCustomAction"
expanded=
"True"
>
<Node
name=
"XAMARINCustomAction"
expanded=
"True"
>
<Node
name=
"XAMARINCustomAction"
expanded=
"True"
/>
<Node
name=
"XAMARINCustomAction"
expanded=
"True"
>
<Node
name=
"XAMARINCustomAction.iOS"
expanded=
"True"
>
<Node
name=
"MainPage.xaml"
expanded=
"True"
>
<Node
name=
"CustomActionIos.cs"
selected=
"True"
/>
<Node
name=
"MainPage.xaml.cs"
selected=
"True"
/>
</Node>
</Node>
</Node>
<Node
name=
"XAMARINCustomAction.iOS"
expanded=
"True"
/>
</Node>
</Node>
</State>
</State>
</Pad>
</Pad>
...
@@ -26,5 +28,5 @@
...
@@ -26,5 +28,5 @@
<BreakpointStore
/>
<BreakpointStore
/>
</MonoDevelop.Ide.DebuggingService.Breakpoints>
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MultiItemStartupConfigurations
/>
<MultiItemStartupConfigurations
/>
<MonoDevelop.Ide.ItemProperties.XAMARINCustomAction.iOS
automaticSigning=
"False"
PreferredExecutionTarget=
"MonoDevelop.IPhone.IPhoneSimulatorTarget.
6A0D46CD-3857-45D7-84A7-211D7D713F41
"
/>
<MonoDevelop.Ide.ItemProperties.XAMARINCustomAction.iOS
automaticSigning=
"False"
PreferredExecutionTarget=
"MonoDevelop.IPhone.IPhoneSimulatorTarget.
DC55AF67-93B2-4E7D-8A51-159D9F9D6A06
"
/>
</Properties>
</Properties>
\ No newline at end of file
CustomAction/XAMARINCustomAction/XAMARINCustomAction.iOS/CustomActionIos.cs
View file @
461501a2
...
@@ -28,7 +28,8 @@ namespace XAMARINCustomAction.iOS
...
@@ -28,7 +28,8 @@ namespace XAMARINCustomAction.iOS
private
bool
Increment
(
UIAccessibilityCustomAction
customAction
)
private
bool
Increment
(
UIAccessibilityCustomAction
customAction
)
{
{
int
n
=
Int32
.
Parse
(
MainPage
.
counter
.
Text
)
+
1
;
int
n
=
Int32
.
Parse
(
MainPage
.
counter
.
Text
);
n
++;
Debug
.
WriteLine
(
"PIPPO: clicked increment"
);
Debug
.
WriteLine
(
"PIPPO: clicked increment"
);
MainPage
.
counter
.
Text
=
""
+
(
n
);
MainPage
.
counter
.
Text
=
""
+
(
n
);
return
true
;
return
true
;
...
@@ -47,25 +48,5 @@ namespace XAMARINCustomAction.iOS
...
@@ -47,25 +48,5 @@ namespace XAMARINCustomAction.iOS
return
true
;
return
true
;
}
}
/*private bool Increment()
{
int n = Int32.Parse(mainpage.counter.Text);
Console.WriteLine("PIPPO: clicked on increment");
Debug.WriteLine($"PIPPO: clicked on increment {n}");
mainpage.counter.Text = "" + (n++);
}*/
/*[Export("Decrement:")]
private void Decrement()
{
Console.WriteLine("PIPPO: clicked on decrement");
int n = Int32.Parse(mainpage.counter.Text);
mainpage.counter.Text = "" + (n--);
}*/
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment