Label
to display text, an Editor
for text input, and two Button
instances that direct the application to save or delete a file. The two Button
instances are horizontally laid out in a Grid
, with the Label
, Editor
, and Grid
being vertically laid out in a StackLayout
. For more information about creating the user interface, see User interface in the Xamarin.Forms Quickstart Deep Dive._fileName
field, which references a file named notes.txt
that will store note data in the local application data folder for the application. When the page constructor is executed the file is read, if it exists, and displayed in the Editor
. When the SaveButton
is pressed the OnSaveButtonClicked
event handler is executed, which saves the content of the Editor
to the file. When the DeleteButton
is pressed the OnDeleteButtonClicked
event handler is executed, which deletes the file, provided that it exists, and removes any text from the Editor
. For more information about user interaction, see Responding to user interaction in the Xamarin.Forms Quickstart Deep Dive.Label
to display text, an Editor
for text input, and two Button
instances that direct the application to save or delete a file. The two Button
instances are horizontally laid out in a Grid
, with the Label
, Editor
, and Grid
being vertically laid out in a StackLayout
. For more information about creating the user interface, see User interface in the Xamarin.Forms Quickstart Deep Dive._fileName
field, which references a file named notes.txt
that will store note data in the local application data folder for the application. When the page constructor is executed the file is read, if it exists, and displayed in the Editor
. When the SaveButton
is pressed the OnSaveButtonClicked
event handler is executed, which saves the content of the Editor
to the file. When the DeleteButton
is pressed the OnDeleteButtonClicked
event handler is executed, which deletes the file, provided that it exists, and removes any text from the Editor
. For more information about user interaction, see Responding to user interaction in the Xamarin.Forms Quickstart Deep Dive.Label
to display text, an Editor
for text input, and two Button
instances that direct the application to save or delete a file. The two Button
instances are horizontally laid out in a Grid
, with the Label
, Editor
, and Grid
being vertically laid out in a StackLayout
. For more information about creating the user interface, see User interface in the Xamarin.Forms Quickstart Deep Dive._fileName
field, which references a file named notes.txt
that will store note data in the local application data folder for the application. When the page constructor is executed the file is read, if it exists, and displayed in the Editor
. When the SaveButton
is pressed the OnSaveButtonClicked
event handler is executed, which saves the content of the Editor
to the file. When the DeleteButton
is pressed the OnDeleteButtonClicked
event handler is executed, which deletes the file, provided that it exists, and removes any text from the Editor
. For more information about user interaction, see Responding to user interaction in the Xamarin.Forms Quickstart Deep Dive.