Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Xamarin forms layout class error will be how to solve this??
Logesh Palani
Apr 2 2017 10:41 PM
321
Reply
Creating an Layout project, the class error will be there how to solve this
code image given below
the
public class framedtextpage class
is error
how can i solve this
<ContentView.Content>
<Label
public
class
FramedTextPage : ContentPage
{
public
FramedTextPage()
{
Padding =
new
Thickness(20);
Content =
new
Frame
{
OutlineColor = Color.Accent,
HorizontalOptions = LayoutOptions.Center,
VerticalOptions = LayoutOptions.Center,
Content =
new
Label
{
Text =
"I've been framed!"
,
FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label))
}
};
}
}
></Label>
</ContentView.Content>
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to add Forms Xaml Page in VS2017
How to Images isTouchable = false in xaml