VIEW MODEL Tiếng việt là gì - trong Tiếng việt Dịch

[vjuː 'mɒdl]
Danh từ
[vjuː 'mɒdl]

Ví dụ về việc sử dụng View model trong Tiếng anh và bản dịch của chúng sang Tiếng việt

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
Creating a view model.
Tạo một View Model.
They can be defined as command objects oras command methods in the view model.
Chúng có thể được định nghĩa như là command objects hoặclà command methods trong view model.
The view references the view model through its DataContext property.
View tham chiếu đến View Model thông qua DataContext property.
In MVVM, the view's data context is set to the view model.
Trong MVVM, data context của nó được đặt cho view model.
We can also specify in XAML that the view model be set as the view's data context.
Bạn cũng có thể chỉ định trong XAML rằng view model được thiết lập cho view thông qua data context.
The view model may define logical states that the view can represent visually to the user.
View model có thể định nghĩa các trạng thái logicview thể hiện trực quan cho người dùng.
Its customers can view model.
Khách hàng có thể xem mẫu tại.
The view model is responsible for coordinating the view's interaction with any model classes that are required.
ViewModel chịu trách nhiệm phối hợp tương tác của View với các model class được yêu cầu.
Views use data binding to interact with view model classes.
Views sử dụngdata binding để tương tác với lớp view model.
The view model may convert or manipulate model data so that it can be easily consumed by the view..
ViewModel có thể chuyển đổi hoặc tính toán model data để nó có thể được View sử dụng dễ dàng.
In WPF, you can associate a data template with a view model type at the application level.
Trong WPF, bạn có thể liên kết một mẫu dữ liệu với một kiểu view model ở mức ứng dụng( application level).
Typically, the view model uses the observer pattern to notify changes in the view model to model..
Thông thường ViewModel sử dụng Observer Pattern để notify các thay đổi trong ViewModel đến Model.
NET Core MVC Apps,the model could be a Domain model, View Model or an Edit Model..
NET MVC thìModel có thể là một Domain Model, View Model hay là một Edit model..
The view model may also define logical states the view can use to provide visual changes in the UI.
ViewModel cũng có thể xác định trạng thái logic mà View có thể sử dụng để đưa ra những sự thay đổi đồ họa trong UI.
It is also used to configure and initialize the module catalog andthe shell's view and view model or presenter.
Nó cũng được sử dụng để cấu hình và khởi tạo danh mục mô-đun và shell' s viewview model hoặc presenter.
Typically, the view model will define commands or actions that can be represented in the UI and that the user can invoke.
Thông thường, ViewModel sẽ xác định các câu lệnh và hành động có thể được mô tả trong UI và người dùng có thể thực thi.
To ensure that the UI iskept up to date when the data changes in the view model, it should implement the appropriate change notification interface.
Để đảm bảo UI luôn đượccập nhật khi dữ liệu thanh đối trong ViewModel, nó phải thực thi interface thông báo thay đổi tương ứng.
In most cases, the view model will define commands or actions that can be represented in the UI and that the user can invoke.
Thông thường, ViewModel sẽ xác định các câu lệnh và hành động có thể được mô tả trong UI và người dùng có thể thực thi.
If you need to implement filtering, sorting, grouping,or selection tracking of items in the collection from within your view model, your view model should create an instance of a collection view class for each collection to be exposed to the view..
Nếu bạn cần thực thi việc chọn lọc, sắp xếp, gom nhóm hoặc theo dõi các item được chọn trong ViewModel của bạn, ViewModel của bạn nên tạo ra một đối tượng của một view collection class cho mỗi collection được đưa đến View.
The view model can also programmatically change the current selection in the UI by calling methods on the collection view object.
ViewModel cũng có thể thay đổi theo như lập trình chọn lựa hiện tại trong UI bằng việc gọi các phương thức trên collection view object.
For example, you may need to allow the collection of items to be filtered or sorted according to presentation logic implemented in the view model, or you may need to keep track of the currently selected item in the view so thatcommands implemented in the view model can act on the currently selected item.
Ví dụ, bạn có thể cần phải cho phép collection các item được chọn lọc hoặc sắp xếp theo presentation logic được thực thi trong View, hoặc bạn có thể cần theo dõi item được chọn hiện thời trong View để cáccâu lệnh được thực thi trong ViewModel có thể thực thi trên item được chọn đó.
The view model should implement a read-only property that returns an ICollectionView reference so that controls in the view can data bind to the collection view object and interact with it.
ViewModel nên thực thi một thuộc tính chỉ đọc trả về một ICollectionView reference để các control trong View có thể kết buộc dữ lêệu vào collection view object và tương tác với nó.
On the other hand, the Model View View Model capability allows developers to work separately on the same app section with the same set of data.
Mặt khác, khả năng Model View View Model cho phép các nhà phát triển làm việc riêng trên cùng một phần ứng dụng với cùng một bộ dữ liệu.
If property values in the view model change, those new values automatically propagate to the view via data binding and notification.
Nếu các giá trị thuộc tính trong ViewModel thay đổi, những giá trị thuộc tính mới tự động phát sinh sang View thông qua việc kết buộc dữ liệu.
A common example is when the view model provides a Submit command that allows the user submit data to a web service or to a data repository.
Một ví dụ phổ biến đó là khi ViewModel cung cấp câu lệnh Submit cho phép người dùng gửi dữ liệu đến một web service hoặc một nơi lưu trữ dữ liệu.
When the user selects a customer in the UI, the view model will be informed so that it can apply the commands that relate to the currently selected customer.
Khi người dùng chọn một customer trong UI, ViewModel sẽ được thông báo để nó có thể thực thi các câu lệnh liên quan đến customer được chọn hiện tại.
The properties and commands that the view model provides define the functionality to be offered by the UI, but the view determines how that functionality is to be displayed.
Các câu lệnh và thuộc tính mà ViewModel cung cấp xác định chức năng được đề nghị bởi UI, nhưng View sẽ xác định cách chức năng đó được render như thế nào.
Implementing the INotifyPropertyChanged interface on many view model classes can be repetitive and error-prone because of the need to specify the property name in the event argument.
Việc thực thi INotifyPropertyChanged interface trên nhiều ViewModel class có thể lăp lại và error- prone bởi việc cần thiết xác định tên thuộc tính trong tham số của sự kiện.
The interactions between the view and its view model are perhaps the most important to consider, but the interactions between the model classes and the view model are also important.
Sự tương tác giữa ViewView model của nó có lẽ là điều quan trọng nhất cần xem xét nhưng sự tương tác giữa ModelView model cũng rất quan trọng.
Collection view classes can be used by the view model to keep track of important state information for the underlying collection, while maintaining a clean separation of concerns between the UI in the view and the underlying data in the model..
Các collection view class có thể được sử dụng bởi ViewModel để theo dõi thông tin trạng thái quan trọng cho collection bên dưới, trong khi việc bảo trì một sự tách biệt rõ ràng của các mối quan tâm giữa UI trong View và dữ liệu bên dưới trong Model.
Kết quả: 31, Thời gian: 0.0244

Từng chữ dịch

Truy vấn từ điển hàng đầu

Tiếng anh - Tiếng việt