티스토리 뷰
728x90
반응형
namespace Ecla.ContentViews
{
public partial class NotiInout : ContentView
{
static ActivityIndicator activ_indi;
public NotiInout()
{
InitializeComponent();
activ_indi = activityindi;
activ_indi.IsVisible = true;
activ_indi.IsRunning = true;
Main_Grid.Children.Add(activ_indi);
Grid.SetRow(activityindi, 1);
Device.BeginInvokeOnMainThread(async () =>
{
await onpages();
activ_indi.IsRunning = false;
activ_indi.IsVisible = false;
// Main_Grid.Children.Remove(activ_indi);
});
}
ActivityIndicator activityindi = new ActivityIndicator
{
//IsRunning = true,
VerticalOptions = LayoutOptions.CenterAndExpand,
HorizontalOptions = LayoutOptions.CenterAndExpand,
WidthRequest = 25,
HeightRequest = 25,
Color = Color.DimGray,
IsEnabled = true,
IsVisible = true,
IsRunning = true,
BackgroundColor = Color.Transparent,
Margin = new Thickness(0),
Scale = 1,
};
private async void preweek_Clicked(System.Object sender, System.EventArgs e)
{
int _year = int.Parse(Pick_Year.SelectedItem.ToString());
int _month = Pick_Month.SelectedIndex;
Device.BeginInvokeOnMainThread(async () =>
{
activ_indi.IsVisible = true;
activ_indi.IsRunning = true;
await Pick_Binding(_year, _month);
activ_indi.IsRunning = false;
activ_indi.IsVisible = false;
});
}
}
}
반응형
'Xamarin' 카테고리의 다른 글
Xamarin.Android ssl connection could not be established see inner exception (2) | 2021.10.02 |
---|---|
Xamarin.Forms tabbed page change tab programmatically (2) | 2021.07.26 |
Xamarin.Forms MultiView BindingContext Not Working (2) | 2021.06.22 |
StackLayout Label Fit the size not working (0) | 2021.05.28 |
iOS UiView CGRect Error (0) | 2021.05.03 |
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 서버 수준의 URN 필터
- c# Encrypt / Decrypt
- GetCellContent CheckBox Value
- WPF Datagrid Cell Value Change
- Xamarin reCAPTCHA
- WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
- SkiaSharp
- Xamarin Firebase Phone Auth
- Xamarin Firebase Phone User Add
- Windows IIS FTP 디렉토리 목록 오류
- 암호 마스터키
- WPF Scrollviewer in ScrollViwer
- WPF Textbox
- Embeded 한글Font적용
- Xamarin.Ios Firebase Phone User Add
- ssl_client_socket_impl.cc
- Label Text LineBreak in Xaml
- 연산자 뒤에 피연산자가 없습니다.
- Xamarin.Ios Firebase Phone SMS OTP Send
- Linux SSH Multi Computer Join
- Xamarin SMS OTP Send
- Xamarin.Ios Firebase Phone Auth
- FileStream Add Byte
- Microcharts
- ClickOnce 인증서 인증기간 변경
- Xamarin.Forms
- Entry '' has empty native path
- C# LINQ Left join
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함