-
Notifications
You must be signed in to change notification settings - Fork 21
955746 - Customize PopupSize Support for Picker and Calendar #3277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Changes from 52 commits
9731ad6
e9d2e38
35e98f5
cdfc2f0
b7b4bbb
5a396c1
c034b7e
13114f3
e4d738c
6cbcf37
0b0eac0
5b54cb2
3e4811d
2f03351
dcd2b75
ad90a92
67cca14
5ee804f
7e9b410
ca28f4e
5364ccc
3337a53
fed6e53
6736112
f52a735
8f966e5
c0d07e3
960eb3d
f876afa
5de3e65
74abaff
5fec3cf
2107f0f
f6a7657
14d2ad7
4dcd738
06de844
57dbc7f
7785a5b
943cbe4
c4c9e5f
733210f
8ca84c5
71666a8
f9c13ed
d590c75
c06c565
9633fa9
7168721
34ab9c4
dc53a9c
375fbcb
cdcf2bb
53ca4e8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,3 +117,31 @@ private void Button_Clicked(object sender, System.EventArgs e) | |
{% endhighlight %} | ||
|
||
{% endtabs %} | ||
|
||
### PopupSize | ||
|
||
SfCalendar allows the display of the Popup to render at any desired size by setting the [PopupWidth] and [PopupWidth] properties. | ||
|
||
The default value of `PopupWidth` and `PopupHeight` is set to 200. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok I'll remove the default value sentence |
||
|
||
{% tabs %} | ||
|
||
{% highlight xaml tabtitle="XAML" %} | ||
|
||
<calendar:SfCalendar x:Name="calendar" | ||
Mode="Dialog" | ||
PopupWidth="300" | ||
PopupHeight=400/> | ||
|
||
{% endhighlight %} | ||
|
||
{% highlight c# tabtitle="C#" %} | ||
|
||
this.calendar.PopupWidth = 300; | ||
this.calendar.PopupHeight = 400; | ||
|
||
{% endhighlight %} | ||
|
||
{% endtabs %} | ||
|
||
 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,4 +161,32 @@ private void Button_Clicked(object sender, System.EventArgs e) | |
|
||
 | ||
|
||
 | ||
 | ||
|
||
### PopupSize | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. custom popup sizechange Title There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ok I'll change |
||
|
||
SfDatePicker allows the display of the Popup to render at any desired size by setting the [PopupWidth] and [PopupWidth] properties. | ||
|
||
The default value of `PopupWidth` and `PopupHeight` is set to 200. | ||
|
||
{% tabs %} | ||
|
||
{% highlight xaml tabtitle="XAML" %} | ||
|
||
<picker:SfdatePicker x:Name="datePicker" | ||
Mode="Dialog" | ||
PopupWidth="300" | ||
PopupHeight="400"/> | ||
|
||
{% endhighlight %} | ||
|
||
{% highlight c# tabtitle="C#" %} | ||
|
||
this.datePicker.PopupWidth = 300; | ||
this.datePicker.PopupHeight = 400; | ||
|
||
{% endhighlight %} | ||
|
||
{% endtabs %} | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
by setting the [PopupWidth] and [PopupWidth] properties.
?????
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok sir I change to PopupHeight