Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Xamarin forms layout class error will be how to solve this??
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Logesh Palani
7y
338
1
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>
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to add Forms Xaml Page in VS2017
How to Images isTouchable = false in xaml