Пример #1
0
        // Token: 0x0600050F RID: 1295 RVA: 0x00023130 File Offset: 0x00021330
        private static void OnCanInputChanged(BindableObject bindable, object oldValue, object newValue)
        {
            NewEntryCell newEntryCell = bindable as NewEntryCell;

            if (!newValue.Equals(oldValue))
            {
                newEntryCell.entry.IsEnabled = (bool)newValue;
            }
        }
Пример #2
0
        // Token: 0x06000506 RID: 1286 RVA: 0x00022FC4 File Offset: 0x000211C4
        private static void OnTitleChanged(BindableObject bindable, object oldValue, object newValue)
        {
            NewEntryCell newEntryCell = bindable as NewEntryCell;

            if (!newValue.Equals(oldValue))
            {
                newEntryCell.label.Text = newValue.ToString();
            }
        }
Пример #3
0
        // Token: 0x0600050C RID: 1292 RVA: 0x000230B8 File Offset: 0x000212B8
        private static void OnHintChanged(BindableObject bindable, object oldValue, object newValue)
        {
            NewEntryCell newEntryCell = bindable as NewEntryCell;

            if (!newValue.Equals(oldValue))
            {
                newEntryCell.entry.Placeholder = newValue.ToString();
            }
        }
Пример #4
0
        // Token: 0x06000509 RID: 1289 RVA: 0x0002303C File Offset: 0x0002123C
        private static void OnTextChanged(BindableObject bindable, object oldValue, object newValue)
        {
            if (newValue == null)
            {
                return;
            }
            NewEntryCell newEntryCell = bindable as NewEntryCell;

            if (!newValue.Equals(oldValue))
            {
                newEntryCell.entry.Text = newValue.ToString();
            }
        }